Messages in this thread | | | From | Bjorn Helgaas <> | Date | Wed, 5 Jun 2013 14:14:38 -0600 | Subject | Re: [PATCH v3, part1 06/10] PCI: make PCI host bridge/bus creating and destroying logic symmetric |
| |
On Sat, May 25, 2013 at 7:48 AM, Jiang Liu <liuj97@gmail.com> wrote: > This patch makes PCI host bridge/bus creating and destroying logic > symmetric by using device_initialize()/device_add()/device_del()/put_device() > pairs as discussed in thread at: > http://comments.gmane.org/gmane.linux.kernel.pci/22073 > > It also fixes a bug in error recovery path in pci_create_root_bus() > which may kfree() an in-use host bridge object.
Can you split out the bug fix into a separate patch, in case it's something we want to backport by itself? I'd do it myself, but I didn't understand at a glance what the problem was.
Bjorn
| |