diff options
| author | Marek Vasut <[email protected]> | 2026-03-25 02:09:05 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2026-04-04 23:46:31 +0200 |
| commit | e7b5aee706fa36f20727a59c95da6eb77c8fa8d3 (patch) | |
| tree | aa5c2fbb83ce3dcff38bc0881d6ea1b1323f40b8 /scripts | |
| parent | 214aababe07de0598bd26ecb0c8fb2e2843ff7d5 (diff) | |
net: rswitch: Avoid NULL pointer dereference during PHY access
At the very early stage when PHY ID is being auto-detected, the
PHY device is not yet instantiated and rswitch_etha .phydev is
still NULL. Add missing check for this condition and perform C22
fallback access in this PHY ID auto-detection case.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
