Thread (2 messages) flat view 2 messages, 2 authors, 2021-02-17

Re: [PATCH net-next] cteontx2-pf: cn10k: Prevent harmless double shift bugs

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-17 22:45:26
Also in: kernel-janitors

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 17 Feb 2021 09:16:20 +0300 you wrote:
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.

[...]
Here is the summary with links:
  - [net-next] cteontx2-pf: cn10k: Prevent harmless double shift bugs
    https://git.kernel.org/netdev/net-next/c/c77662605d8d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help