From: Simon Horman Date: Thu, 7 Aug 2008 04:56:34 +0000 (+1000) Subject: PCI: check the return value of device_create_bin_file() in pci_create_bus() X-Git-Tag: v2.6.27-rc3~57^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a844158a642ffe8b3b29964a88ee802c2834ed0a;p=pandora-kernel.git 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 Cc: Michael Ellerman Cc: Matthew Wilcox Signed-off-by: Simon Horman Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed