summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-07-07 13:12:10 -0600
committerBin Meng <[email protected]>2020-07-17 14:32:24 +0800
commit20349781a3ca833c67126888ddfce7c1517c772e (patch)
treeeb84642875edd981bf865836d8f69ca61e4ede42 /include/linux
parent58a6ccd34e79acb7835699eab9c1ecb6cc8bbd47 (diff)
pci: Avoid a crash in device_is_on_pci_bus()
This function cannot currently be called on the root node. Add a check for this as well as a test. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Wolfgang Wallner <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions