diff options
| author | Vladimir Oltean <[email protected]> | 2021-09-18 14:49:55 +0300 |
|---|---|---|
| committer | Ramon Fried <[email protected]> | 2021-09-28 18:50:56 +0300 |
| commit | 5cc283b781398a02c8a7c919cf4d5dbb5fa8add2 (patch) | |
| tree | f03a3d5e653e1cee3cef2b0ff585c0fdabb7c320 /scripts/basic | |
| parent | 66fd01fe5935d4be5f556f67284efb1b67fa4143 (diff) | |
net: dsa: pass CPU port fixed PHY to .port_disable
While adding the logic for DSA to register a fixed-link PHY for the CPU
port, I forgot to pass it to the .port_disable method too, just
.port_enable.
Bug had no impact for felix_switch.c, due to the phy argument not being
used, but ksz9477.c does use it => NULL pointer dereference.
Fixes: fc054d563bfb ("net: Introduce DSA class for Ethernet switches")
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
