Skip to content
Commit 878a20aa authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Tom Rini
Browse files

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: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent cfbd388a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment