diff options
| author | Ioana Ciornei <[email protected]> | 2023-01-05 17:09:48 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-02-02 14:44:53 -0500 |
| commit | 878a20aa15880e8b0cc2009331e7b207b7c668c0 (patch) | |
| tree | db56063fd5261f9eb39514151574db1c75b07973 /scripts/cleanpatch | |
| parent | cfbd388ae756aac9151f21c9eb09d53f79360e6e (diff) | |
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 <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
