summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi/libcxgbi.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2017-05-19 18:39:36 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-01 04:58:25 +0200
commit70bdf2026d905b8bfa0a455d35018df3e9777a6c (patch)
treeea63421086da6a9e73659b78ced5af1bc4746db1 /drivers/scsi/cxgbi/libcxgbi.c
parentscsi: qla2xxx: Fix extraneous ref on sp's after adapter break (diff)
downloadlinux-70bdf2026d905b8bfa0a455d35018df3e9777a6c.tar.xz
linux-70bdf2026d905b8bfa0a455d35018df3e9777a6c.zip
scsi: scsi_debug: Avoid PI being disabled when TPGS is enabled
It was not possible to enable both T10 PI and TPGS because they share the same byte in the INQUIRY response. Logically OR the TPGS value instead of using assignment. Reported-by: Ritika Srivastava <ritika.srivastava@oracle.com> Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.c')
0 files changed, 0 insertions, 0 deletions