[U-Boot] [PATCH][v2] driver: net: fsl-mc: Return from DPAA_exit if boot_status !=0

york sun york.sun at nxp.com
Tue Mar 22 16:47:47 CET 2016


On 03/21/2016 01:50 AM, Prabhakar Kushwaha wrote:
> 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 at nxp.com>
> Reported-by: Yao Yuan <yao.yuan at nxp.com>
> ---
> Changes for v2: Incorporated York's comments
>   - Added comments
> 
>  drivers/net/fsl-mc/mc.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Applied to u-boot-fsl-qoriq, awaiting upstream.

Thanks.

York



More information about the U-Boot mailing list