diff options
author | Anthony Felice <[email protected]> | 2020-04-26 22:00:59 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-27 11:52:10 -0700 |
commit | 4b5b71f770e2edefbfe74203777264bfe6a9927c (patch) | |
tree | bbd516ca4e04e3972018d3d34658967535e23c3d /kernel/bpf/syscall.c | |
parent | df4953e4e997e273501339f607b77953772e3559 (diff) |
net: tc35815: Fix phydev supported/advertising mask
Commit 3c1bcc8614db ("net: ethernet: Convert phydev advertize and
supported from u32 to link mode") updated ethernet drivers to use a
linkmode bitmap. It mistakenly dropped a bitwise negation in the
tc35815 ethernet driver on a bitmask to set the supported/advertising
flags.
Found by Anthony via code inspection, not tested as I do not have the
required hardware.
Fixes: 3c1bcc8614db ("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
Signed-off-by: Anthony Felice <[email protected]>
Reviewed-by: Akshay Bhat <[email protected]>
Reviewed-by: Heiner Kallweit <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions