[U-Boot] [U-Boot, 2/2] pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails

Tom Rini trini at konsulko.com
Sat Jan 9 04:35:55 CET 2016


On Fri, Jan 08, 2016 at 01:03:21AM -0800, Bin Meng wrote:

> When trying to access non-existent/unsupported PCI devices in
> ls_pcie_read_config(), when ls_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.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.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/4d12cab2/attachment.sig>


More information about the U-Boot mailing list