aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2021-06-22 11:11:53 +0200
committerMartin K. Petersen <[email protected]>2021-06-22 21:50:15 -0400
commitc43ddbf97f46b93727718408d60a47ce8c08f30c (patch)
tree78711da39b15de7eb5a5dddf81f0b96ba55572b6 /scripts/gdb/linux/genpd.py
parent49da96d77938db21864dae6b7736b71e96c1d203 (diff)
scsi: virtio_scsi: Do not overwrite SCSI status
When a sense code is present we should not override the SAM status; the driver already sets it based on the response from the hypervisor. In addition we should only copy the sense buffer if one is actually provided by the hypervisor. Link: https://lore.kernel.org/r/[email protected] Fixes: 464a00c9e0ad ("scsi: core: Kill DRIVER_SENSE") Tested-by: Guenter Roeck <[email protected]> Tested-by: Jiri Slaby <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions