* [PATCH] [net] cavium/liquidio: Fix duplicate argument
@ 2021-04-14 11:31 Wan Jiabing
2021-04-14 21:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-14 11:31 UTC (permalink / raw)
To: Derek Chickles, Satanand Burla, Felix Manlunas, David S. Miller,
Jakub Kicinski, netdev, linux-kernel
Cc: kael_w, Wan Jiabing
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>
---
drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 \
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [net] cavium/liquidio: Fix duplicate argument
2021-04-14 11:31 [PATCH] [net] cavium/liquidio: Fix duplicate argument Wan Jiabing
@ 2021-04-14 21:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-14 21:10 UTC (permalink / raw)
To: Wan Jiabing
Cc: dchickles, sburla, fmanlunas, davem, kuba, netdev, linux-kernel, kael_w
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 14 Apr 2021 19:31:48 +0800 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- [net] cavium/liquidio: Fix duplicate argument
https://git.kernel.org/netdev/net/c/416dcc5ce9d2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-14 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 11:31 [PATCH] [net] cavium/liquidio: Fix duplicate argument Wan Jiabing
2021-04-14 21:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).