aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-02-18 11:50:49 -0800
committerMartin K. Petersen <[email protected]>2022-02-22 21:11:04 -0500
commit3032ed77a28913203a4fe0ab8f05752331af79b3 (patch)
tree94fd22b25b7aa43d1f7e6bb15aa8e7fa2b654e5d
parent211134c47cfd51fa204a89f6f445a601f6175bb6 (diff)
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/[email protected] Fixes: 4d7007b49d52 ("[SCSI] fnic: Fnic Trace Utility") Cc: Hiral Patel <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r--drivers/scsi/fnic/fnic_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index 88c549f257db..549754245f7a 100644
--- a/drivers/scsi/fnic/fnic_scsi.c
+++ b/drivers/scsi/fnic/fnic_scsi.c
@@ -604,7 +604,7 @@ out:
FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
tag, sc, io_req, sg_count, cmd_trace,
- (((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc)));
+ (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc)));
/* if only we issued IO, will we have the io lock */
if (io_lock_acquired)