Skip to content

Commit c816061

Browse files
Dan Carpenterdavem330
authored andcommitted
liquidio CN23XX: bitwise vs logical AND typo
We obviously intended a bitwise AND here, not a logical one. Fixes: 8c978d0 ("liquidio CN23XX: Mailbox support") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f6e3ef3 commit c816061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ int octeon_mbox_process_message(struct octeon_mbox *mbox)
301301
sizeof(struct octeon_mbox_cmd));
302302
if (!mbox_cmd.msg.s.resp_needed) {
303303
mbox->state &= ~OCTEON_MBOX_STATE_REQUEST_RECEIVED;
304-
if (!(mbox->state &&
304+
if (!(mbox->state &
305305
OCTEON_MBOX_STATE_RESPONSE_PENDING))
306306
mbox->state = OCTEON_MBOX_STATE_IDLE;
307307
writeq(OCTEON_PFVFSIG, mbox->mbox_read_reg);

0 commit comments

Comments
 (0)