From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 8 Jan 2016 22:35:48 -0500 Subject: [U-Boot] [U-Boot, 1/2] pci: imx: Adjust the return value when imx_pcie_addr_valid() fails In-Reply-To: <1452243801-19479-1-git-send-email-bmeng.cn@gmail.com> References: <1452243801-19479-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <20160109033548.GA3359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 08, 2016 at 01:03:20AM -0800, Bin Meng wrote: > When trying to access non-existent/unsupported PCI devices in > imx_pcie_read_config(), when imx_pcie_addr_valid() fails it returns > error code and fills in the result with 0xffffffff manually. But it > really should return zero to upper layer codes. > > Reported-by: Fabio Estevam > Signed-off-by: Bin Meng > Tested-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: