mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 17:57:36 +07:00
liquidio CN23XX: bitwise vs logical AND typo
We obviously intended a bitwise AND here, not a logical one.
Fixes: 8c978d0592
("liquidio CN23XX: Mailbox support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f6e3ef3e4d
commit
c816061d27
@ -301,7 +301,7 @@ int octeon_mbox_process_message(struct octeon_mbox *mbox)
|
||||
sizeof(struct octeon_mbox_cmd));
|
||||
if (!mbox_cmd.msg.s.resp_needed) {
|
||||
mbox->state &= ~OCTEON_MBOX_STATE_REQUEST_RECEIVED;
|
||||
if (!(mbox->state &&
|
||||
if (!(mbox->state &
|
||||
OCTEON_MBOX_STATE_RESPONSE_PENDING))
|
||||
mbox->state = OCTEON_MBOX_STATE_IDLE;
|
||||
writeq(OCTEON_PFVFSIG, mbox->mbox_read_reg);
|
||||
|
Loading…
Reference in New Issue
Block a user