commit | 6dedcedd6442295428ea7f02b0d30739499858a2 | [log] [tgz] |
---|---|---|
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | Mon Mar 21 14:19:39 2016 +0530 |
committer | York Sun <york.sun@nxp.com> | Mon Mar 21 12:42:15 2016 -0700 |
tree | c67ebb24359dcb480fcbff75d7ba0b65ab666a6c | |
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>