aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci_ids.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2008-08-07 00:56:34 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-07 12:49:07 -0400
commita844158a642ffe8b3b29964a88ee802c2834ed0a (patch)
tree05ab9fe0a7b31af7f2885fd07ef1bfda50b977ba /include/linux/pci_ids.h
parentabad2ec98f2ef357d62026cbc3989dabf33f2435 (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 'include/linux/pci_ids.h')
0 files changed, 0 insertions, 0 deletions