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

York Sun
2016-03-29T15:45:24Z

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@nxp.com>
> Reported-by: Jose Rivera <german.rivera@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