projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed99c7
)
scsi: fnic: Fix a tracing statement
author
Bart Van Assche
<bvanassche@acm.org>
Fri, 18 Feb 2022 19:50:49 +0000
(11:50 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:33 +0000
(14:23 +0200)
[ Upstream commit
3032ed77a28913203a4fe0ab8f05752331af79b3
]
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:
4d7007b49d52
("[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/fnic/fnic_scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/fnic/fnic_scsi.c
b/drivers/scsi/fnic/fnic_scsi.c
index
f8afbfb
..
d084a7d
100644
(file)
--- 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)