diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-04-14 13:31:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-14 23:02:56 +0200 |
commit | 416dcc5ce9d2a810477171c62ffa061a98f87367 (patch) | |
tree | ea87260a5b7d1ee185d784aea406ca59cd8b4655 /drivers | |
parent | net: macb: fix the restore of cmp registers (diff) | |
download | linux-416dcc5ce9d2a810477171c62ffa061a98f87367.tar.xz linux-416dcc5ce9d2a810477171c62ffa061a98f87367.zip |
cavium/liquidio: Fix duplicate argument
Fix the following coccicheck warning:
./drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h:413:6-28:
duplicated argument to & or |
The CN6XXX_INTR_M1UPB0_ERR here is duplicate.
Here should be CN6XXX_INTR_M1UNB0_ERR.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h b/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h index b248966837b4..7aad40b2aa73 100644 --- a/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h +++ b/drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h @@ -412,7 +412,7 @@ | CN6XXX_INTR_M0UNWI_ERR \ | CN6XXX_INTR_M1UPB0_ERR \ | CN6XXX_INTR_M1UPWI_ERR \ - | CN6XXX_INTR_M1UPB0_ERR \ + | CN6XXX_INTR_M1UNB0_ERR \ | CN6XXX_INTR_M1UNWI_ERR \ | CN6XXX_INTR_INSTR_DB_OF_ERR \ | CN6XXX_INTR_SLIST_DB_OF_ERR \ |