summaryrefslogtreecommitdiff
path: root/net/net6.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2023-01-05 18:09:48 +0300
committerTom Rini <trini@konsulko.com>2023-02-02 22:44:53 +0300
commit878a20aa15880e8b0cc2009331e7b207b7c668c0 (patch)
treedb56063fd5261f9eb39514151574db1c75b07973 /net/net6.c
parentcfbd388ae756aac9151f21c9eb09d53f79360e6e (diff)
downloadu-boot-878a20aa15880e8b0cc2009331e7b207b7c668c0.tar.xz
drivers: net: fsl_ls_mdio: prevent a NULL pointer dereference
Prevent a NULL pointer dereference in the probe path by checking the return valud of dev_read_addr_ptr() against NULL. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'net/net6.c')
0 files changed, 0 insertions, 0 deletions