]> err.no Git - linux-2.6/commit
PCI: fix up error messages for pci_bus registering
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Mar 2008 22:47:13 +0000 (14:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 23:07:03 +0000 (15:07 -0800)
commit4725e7bdb831b9d4bd4ba0b0909398ebcf0c2df9
tree1b1e9cd754a7330d35636d746631ae0fd4adbb7a
parent0ab2b57f8db8a1bcdf24089074f5d2856a3ffb42
PCI: fix up error messages for pci_bus registering

Due to the class_device cleanup of pci_bus, the error messages when
things go wrong are incorrect.  So fix this up to properly report what
is really happening, if things go wrong.

Thanks to Kay for pointing out the issue.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/bus.c