diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2021-03-26 23:22:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-27 01:09:45 +0300 |
| commit | cf2cc0bf4fde7b9db68d605bbe26457aea3685a0 (patch) | |
| tree | 4db80620a510788279bf134466debe576def90ce /tools/perf/scripts/python/intel-pt-events.py | |
| parent | ad1cd7856d870e5861ef80fbf3e4b0d68bb82a69 (diff) | |
| download | linux-cf2cc0bf4fde7b9db68d605bbe26457aea3685a0.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
