aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2020-09-17 10:52:57 -0700
committerDavid S. Miller <[email protected]>2020-09-17 17:59:12 -0700
commit5f6857e808a8bd078296575b417c4b9d160b9779 (patch)
tree91af24b5e6fec5e7d15cbe10423836f6c9ebdb24 /lib/mpi/mpiutil.c
parentce000c61b0bf96506ad4a537f3218a716b6fadcd (diff)
nfp: use correct define to return NONE fec
struct ethtool_fecparam carries bitmasks not bit numbers. We want to return 1 (NONE), not 0. Fixes: 0d0870938337 ("nfp: implement ethtool FEC mode settings") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Jesse Brandeburg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions