All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] octeon_ep: use bitwise AND
@ 2022-06-26 13:29 Shreenidhi Shedi
  2022-06-28  5:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Shreenidhi Shedi @ 2022-06-26 13:29 UTC (permalink / raw)
  To: vburru, aayarekar, davem, edumazet, kuba
  Cc: netdev, linux-kernel, Shreenidhi Shedi

From: Shreenidhi Shedi <sshedi@vmware.com>

This should be bitwise operator not logical.

Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization")
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
---
 drivers/net/ethernet/marvell/octeon_ep/octep_regs_cn9k_pf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/octeon_ep/octep_regs_cn9k_pf.h b/drivers/net/ethernet/marvell/octeon_ep/octep_regs_cn9k_pf.h
index cc5114979..3d5d39a52 100644
--- a/drivers/net/ethernet/marvell/octeon_ep/octep_regs_cn9k_pf.h
+++ b/drivers/net/ethernet/marvell/octeon_ep/octep_regs_cn9k_pf.h
@@ -52,7 +52,7 @@

 #define    CN93_SDP_EPF_RINFO_SRN(val)           ((val) & 0xFF)
 #define    CN93_SDP_EPF_RINFO_RPVF(val)          (((val) >> 32) & 0xF)
-#define    CN93_SDP_EPF_RINFO_NVFS(val)          (((val) >> 48) && 0xFF)
+#define    CN93_SDP_EPF_RINFO_NVFS(val)          (((val) >> 48) & 0xFF)

 /* SDP Function select */
 #define    CN93_SDP_FUNC_SEL_EPF_BIT_POS         8
--
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] octeon_ep: use bitwise AND
  2022-06-26 13:29 [PATCH] octeon_ep: use bitwise AND Shreenidhi Shedi
@ 2022-06-28  5:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-28  5:10 UTC (permalink / raw)
  To: Shreenidhi Shedi
  Cc: vburru, aayarekar, davem, edumazet, kuba, netdev, linux-kernel, sshedi

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 26 Jun 2022 18:59:47 +0530 you wrote:
> From: Shreenidhi Shedi <sshedi@vmware.com>
> 
> This should be bitwise operator not logical.
> 
> Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization")
> Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
> 
> [...]

Here is the summary with links:
  - octeon_ep: use bitwise AND
    https://git.kernel.org/netdev/net/c/4bbfed9112ca

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:[~2022-06-28  5:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 13:29 [PATCH] octeon_ep: use bitwise AND Shreenidhi Shedi
2022-06-28  5:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.