diff options
| author | Marek Vasut <[email protected]> | 2026-03-25 02:09:05 +0100 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-03-31 16:54:49 +0200 |
| commit | 1fc34e1bb8c727354b5f5f908ecefadbd6fe1d6b (patch) | |
| tree | e7b185888a3b696c9220063630b31405c2dc1cbe /include/linux/zstd_errors.h | |
| parent | d63e58c5f030785c17607f00cbec354e6d84e733 (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 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
