Ar Llu, 2006-10-16 am 10:20 -0600, ysgrifennodd Matthew Wilcox: > On Mon, Oct 16, 2006 at 04:55:46PM +0100, Alan Cox wrote: > > + if (PCI_bus) > > + pci_dev_put(PCI_dev); > > shirley 'if (PCI_dev)'? No The PCI_bus flag tells us that the hardware found and uses a PCI device, which means PCI_dev holds a valid value (or NULL) which can and should be passed to pci_dev_put. Don't blame me I didn't write the driver ;) Alan - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html