linux/drivers/net/ethernet/marvell/octeontx2
Dan Carpenter c77662605d 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: facede8209 ("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>
2021-02-17 14:26:49 -08:00
..
af octeontx2-af: cn10k: Fixes CN10K RPM reference issue 2021-02-16 13:59:47 -08:00
nic cteontx2-pf: cn10k: Prevent harmless double shift bugs 2021-02-17 14:26:49 -08:00
Kconfig octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00