It is not possible to access a device on a PCI bus that has not yet been probed, since the bus number is not known. Add a warning to catch this error. Signed-off-by: Simon Glass <sjg at chromium.org> --- drivers/pci/pci-uclass.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) Applied to u-boot-dm, thanks!