Skip to content
Commit 70bdf202 authored by Martin K. Petersen's avatar Martin K. Petersen
Browse files

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: default avatarRitika Srivastava <ritika.srivastava@oracle.com>
Reviewed-by: default avatarBart Van Assche <Bart.VanAssche@sandisk.com>
Reviewed-by: default avatarEwan D. Milne <emilne@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 4cd3b6eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment