diff options
| author | Martin K. Petersen <[email protected]> | 2021-10-28 03:42:02 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-10-29 18:03:58 +0000 |
| commit | 61a9f252c1c026f84129a7bfa476e880b75e80eb (patch) | |
| tree | 8442f475e190d9bfb13abccadd2e582a3d4f5ebd /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | scsi: ufs: ufs-exynos: Correct timeout value setting registers (diff) | |
| download | kernel-61a9f252c1c026f84129a7bfa476e880b75e80eb.tar.gz kernel-61a9f252c1c026f84129a7bfa476e880b75e80eb.zip | |
scsi: mpt3sas: Fix reference tag handling for WRITE_INSERT
Testing revealed a problem with how the reference tag was handled for
a WRITE_INSERT operation. The SCSI_PROT_REF_CHECK flag is not set when
the controller is asked to generate the protection information
(i.e. not DIX). And as a result the initial reference tag would not be
set in the WRITE_INSERT case.
Separate handling of the REF_CHECK and REF_INCREMENT flags to align
with both the DIX spec and the MPI implementation.
Link: https://lore.kernel.org/r/[email protected]
Fixes: b3e2c72af1d5 ("scsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI")
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
