mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
scsi: lpfc: Fix a precedence bug in lpfc_nvme_io_cmd_wqe_cmpl()
The ! has higher precedence than the & operation. I've added
parenthesis so this works as intended.
Fixes: 952c303b32
("scsi: lpfc: Ensure io aborts interlocked with the target.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
4efea4f60c
commit
41319e4f62
@ -948,7 +948,7 @@ out_err:
|
||||
/* NVME targets need completion held off until the abort exchange
|
||||
* completes.
|
||||
*/
|
||||
if (!lpfc_ncmd->flags & LPFC_SBUF_XBUSY)
|
||||
if (!(lpfc_ncmd->flags & LPFC_SBUF_XBUSY))
|
||||
nCmd->done(nCmd);
|
||||
|
||||
spin_lock_irqsave(&phba->hbalock, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user