On Tue, Apr 23, 2013 at 12:29 AM, Gu Zheng <guz.fnst@xxxxxxxxxxxxxx> wrote: > From b01e61759f894b651ed3bb39c9fc18e0b66d7cb3 Mon Sep 17 00:00:00 2001 > From: GuZheng <guz.fnst@xxxxxxxxxxxxxx> > Date: Tue, 23 Apr 2013 14:01:39 +0800 > Subject: [PATCH v2 2/2] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) > instead > > Use the new pci_alloc_dev(bus) to replace the existing using of alloc_pci_dev(void). > And new functions pci_bus_get/put() are introdued to hide pci_bus' reference management. > > v2: > Follow Yinghai's suggestions to reduce pci_bus' ref when destroying pci device. > Add new functions pci_bus_get/put() to hide pci_bus' reference management. You did not tell us if the remove test scripts works after put the line back. If it does not work, what is the point of this patch? Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html