summary refs log tree commit diff
path: root/lib/seq_buf.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-01-10 21:32:41 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-11 21:38:43 -0500
commit7bb25a89aad2cc96de188c9ecc89a175360f6fb4 (patch)
treefd8b947988135d5d0235db52e0a2365946ae7af2 /lib/seq_buf.c
parenta94a2572b97744d3a35a1996df0e5cf6b2461a4a (diff)
downloadlinux-7bb25a89aad2cc96de188c9ecc89a175360f6fb4.tar.gz
scsi: hisi_sas: Set protection parameters prior to adding SCSI host
Currently we set the protection parameters after calling scsi_add_host()
for v3 hw.

They should be set beforehand, so make this change.

Appearantly this fixes our DIX issue (not mainline yet) also, but more
testing required.

Fixes: d6a9000b81be ("scsi: hisi_sas: Add support for DIF feature for v2 hw")
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions