]> err.no Git - linux-2.6/commit
PCIE: check and return bus_register errors
authorRandy Dunlap <rdunlap@xenotime.net>
Sun, 9 Jul 2006 05:58:25 +0000 (22:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 00:43:52 +0000 (17:43 -0700)
commit20d516602c022997feb24a9f1a806fc986b9e4e8
treecf74447266832d62cdb38e7ca29532c65848b60e
parent6397c75cbc4d7dbc3d07278b57c82a47dafb21b5
PCIE: check and return bus_register errors

Have pcie_port_bus_register() notice and return errors.
Mark it __must_check so that its caller(s) must check its return value.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_core.c
drivers/pci/pcie/portdrv_pci.c