[U-Boot] [PATCH] driver: net: fsl-mc: Check NULL before pointer dereference

York Sun york.sun at nxp.com
Tue Mar 29 17:45:24 CEST 2016


On 03/18/2016 03:46 AM, Prabhakar Kushwaha wrote:
> NULL pointer should be checked before any dereference.  This patch
> move memest after the NULL pointer check.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Reported-by: Jose Rivera <german.rivera at nxp.com>
> ---
>  drivers/net/fsl-mc/dpio/qbman_sys.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied to u-boot-fsl-qoriq master. Awaiting upstream.

Thanks.

York




More information about the U-Boot mailing list