summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-08-26 17:33:56 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-10-11 01:07:37 +0200
commit1677461ff3e5b4762beffff2405f89ce93c215d4 (patch)
treee3d21859fe5c99791ad1aeb7e0248d3b79cc3607 /fs/jffs2
parenta7aa9c2365b6c8a6d87cef14874ba4afbdcbd764 (diff)
pci: Abort early if bus does not exist
When listing the devices on a PCI bus, the current code will blindly try to access all devices. Internally this causes pci_bus_to_hose() to be repeatedly called and output an error message every time. Prevent this by calling pci_bus_to_hose() once and abort early if no bus was found. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions