diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2016-03-21 14:19:39 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-03-21 12:42:15 -0700 |
commit | 6dedcedd6442295428ea7f02b0d30739499858a2 (patch) | |
tree | c67ebb24359dcb480fcbff75d7ba0b65ab666a6c /drivers/pci/pcie_layerscape.c | |
parent | ceded371c8a328cd41cdf55292206e0efb96c660 (diff) |
driver: net: fsl-mc: Return from DPAA_exit if boot_status !=0
Return value of get_mc_boot_status() in case of failure is not necessary
to be -1.
So update the error condition check.
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reported-by: Yao Yuan <yao.yuan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/pci/pcie_layerscape.c')
0 files changed, 0 insertions, 0 deletions