PCI: check return value of pci_enable_device() when enabling bridges
authorJunchang Wang <junchangwang@gmail.com>
Fri, 18 Jun 2010 02:02:33 +0000 (10:02 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:29:14 +0000 (09:29 -0700)
commit2eb5ebd3665a38a4526b45cb3a31a132b2aa9927
tree1243c320e14eaf58a1208ccb021b8e70891d85ca
parent7736a05a320712c0a9b8f9e1cd0688b2c0848009
PCI: check return value of pci_enable_device() when enabling bridges

pci_enable_device can fail. In that case, a printed warning would be
more appropriate.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Junchang Wang <junchangwang@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/bus.c