From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Fri, 10 Jan 2020 03:57:49 -0500 Subject: [PATCH 05/19] pci: Print a warning if the bus is accessed before probing In-Reply-To: <20191229211913.5.I2b9131d311961ec0efab090ef9b2e70d64427585@changeid> References: <20191229211913.5.I2b9131d311961ec0efab090ef9b2e70d64427585@changeid> <20191230041928.74874-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- drivers/pci/pci-uclass.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) Applied to u-boot-dm, thanks!