diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-19 18:39:36 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-01 04:58:25 +0200 |
commit | 70bdf2026d905b8bfa0a455d35018df3e9777a6c (patch) | |
tree | ea63421086da6a9e73659b78ced5af1bc4746db1 /drivers/scsi/cxgbi/libcxgbi.c | |
parent | scsi: qla2xxx: Fix extraneous ref on sp's after adapter break (diff) | |
download | linux-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