Skip to content

Commit 3032ed7

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: fnic: Fix a tracing statement
Report both the command flags and command state instead of only the command state. Link: https://lore.kernel.org/r/20220218195117.25689-22-bvanassche@acm.org Fixes: 4d7007b ("[SCSI] fnic: Fnic Trace Utility") Cc: Hiral Patel <hiralpat@cisco.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 211134c commit 3032ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/fnic/fnic_scsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ static int fnic_queuecommand_lck(struct scsi_cmnd *sc)
604604

605605
FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
606606
tag, sc, io_req, sg_count, cmd_trace,
607-
(((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc)));
607+
(((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc)));
608608

609609
/* if only we issued IO, will we have the io lock */
610610
if (io_lock_acquired)

0 commit comments

Comments
 (0)