diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-04-30 01:15:41 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-05-07 04:53:58 +0300 |
commit | 18f7761d5c6f290236a0d181feecea592226a9df (patch) | |
tree | 127facc877c1004b8544625472d425ff750c076f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1db60fa05929e6abad318d1c8fe532879f9db98c (diff) | |
download | linux-18f7761d5c6f290236a0d181feecea592226a9df.tar.xz |
scsi: lpfc: Update logging of protection type for T10 DIF I/O
A struct scsi_cmnd already contains T10 DIF protection type information in
prot_type. So, instead of manually checking a CDBs' RD/WRPROTECT fields
with (byte[1] >> 5) utilize scsi_get_prot_type().
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240429221547.6842-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions