diff options
author | 2021-02-17 09:16:20 +0300 | |
---|---|---|
committer | 2021-02-17 14:26:49 -0800 | |
commit | c77662605d8d715062f15bbf567b5a61082b4967 (patch) | |
tree | 03a97d93a60016074891f22404c611cb088d0547 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: Add PCI bus info to ethtool driver query output (diff) | |
download | wireguard-linux-c77662605d8d715062f15bbf567b5a61082b4967.tar.xz wireguard-linux-c77662605d8d715062f15bbf567b5a61082b4967.zip |
cteontx2-pf: cn10k: Prevent harmless double shift bugs
These defines are used with set_bit() and test_bit() which take a bit
number. In other words, the code is doing:
if (BIT(BIT(1)) & pf->hw.cap_flag) {
This was done consistently so it did not cause a problem at runtime but
it's still worth fixing.
Fixes: facede8209ef ("octeontx2-pf: cn10k: Add mbox support for CN10K")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions