diff options
author | Simon Horman <horms@verge.net.au> | 2008-08-07 14:56:34 +1000 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-07 09:49:07 -0700 |
commit | a844158a642ffe8b3b29964a88ee802c2834ed0a (patch) | |
tree | 05ab9fe0a7b31af7f2885fd07ef1bfda50b977ba /drivers/pci/Kconfig | |
parent | abad2ec98f2ef357d62026cbc3989dabf33f2435 (diff) |
PCI: check the return value of device_create_bin_file() in pci_create_bus()
Check the return value of device_create_bin_file in pci_create_bus and
unwind if necessary. Don't propagate error to caller, as failure to create
these files shouldn't prevent PCI from being initialised. Instead, just
log a warning.
Cc: Sven Wegener <sven.wegener@stealer.net>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/Kconfig')
0 files changed, 0 insertions, 0 deletions