Searched hist:cf2cc0bf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ethtool/ |
H A D | ioctl.c | cf2cc0bf Fri Mar 26 15:22:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> ethtool: fec: fix FEC_NONE check
Dan points out we need to use the mask not the bit (which is 0).
Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 42ce127d9864 ("ethtool: fec: sanitize ethtool_fecparam->fec") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|