summaryrefslogtreecommitdiff
path: root/include/tws.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-01-08 09:03:20 (GMT)
committerTom Rini <trini@konsulko.com>2016-01-08 15:15:49 (GMT)
commit9642b78cdf3404ada759ccb7c7de461bf25597cb (patch)
tree0cbda1ea40c3e631b86c42804765b429ca6404ef /include/tws.h
parente9cdf3b85e966aabc88517225e9a23ec0cc4ea8a (diff)
downloadu-boot-fsl-qoriq-9642b78cdf3404ada759ccb7c7de461bf25597cb.tar.xz
pci: imx: Adjust the return value when imx_pcie_addr_valid() fails
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@nxp.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/tws.h')
0 files changed, 0 insertions, 0 deletions