diff options
author | Simon Horman | 2008-08-07 06:56:34 +0200 |
---|---|---|
committer | Jesse Barnes | 2008-08-07 18:49:07 +0200 |
commit | a844158a642ffe8b3b29964a88ee802c2834ed0a (patch) | |
tree | 05ab9fe0a7b31af7f2885fd07ef1bfda50b977ba /include | |
parent | PCI: fully restore MSI state at resume time (diff) | |
download | kernel-qcow2-linux-a844158a642ffe8b3b29964a88ee802c2834ed0a.tar.gz kernel-qcow2-linux-a844158a642ffe8b3b29964a88ee802c2834ed0a.tar.xz kernel-qcow2-linux-a844158a642ffe8b3b29964a88ee802c2834ed0a.zip |
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')
0 files changed, 0 insertions, 0 deletions