diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2016-03-18 16:16:03 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-03-29 08:46:01 -0700 |
commit | b576d325acbcbe05d712e3a995b4ce6689eb96c5 (patch) | |
tree | fc43c17965c8d577bea1d8ac290612f1e352eced /include/u-boot | |
parent | cd7b3fbcf46844230ad664884c18d0281a4a31d7 (diff) | |
download | u-boot-imx-b576d325acbcbe05d712e3a995b4ce6689eb96c5.zip u-boot-imx-b576d325acbcbe05d712e3a995b4ce6689eb96c5.tar.gz u-boot-imx-b576d325acbcbe05d712e3a995b4ce6689eb96c5.tar.bz2 |
driver: net: fsl-mc: Check NULL before pointer dereference
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>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/u-boot')
0 files changed, 0 insertions, 0 deletions