Commit 18f7761
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 1db60fa commit 18f7761
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5327 | 5327 | | |
5328 | 5328 | | |
5329 | 5329 | | |
5330 | | - | |
| 5330 | + | |
5331 | 5331 | | |
5332 | 5332 | | |
5333 | 5333 | | |
| |||
0 commit comments