octeon_ep: use bitwise AND
This should be bitwise operator not logical.
Fixes: 862cd659a6
("octeon_ep: Add driver framework and device initialization")
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Link: https://lore.kernel.org/r/20220626132947.3992423-1-sshedi@vmware.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
cce13b82cf
commit
4bbfed9112
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user