1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-28 08:17:09 +01:00
Files
u-boot-megous/include/dm/device.h
Simon Glass 20349781a3 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 <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-07-17 14:32:24 +08:00

27 KiB