[U-Boot] [U-Boot, 1/2] pci: imx: Adjust the return value when imx_pcie_addr_valid() fails
Tom Rini
trini at konsulko.com
Sat Jan 9 04:35:48 CET 2016
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 <fabio.estevam at nxp.com>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Fabio Estevam <fabio.estevam at nxp.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20160108/018cd27c/attachment.sig>
More information about the U-Boot
mailing list