Hannes Reinecke 464a00c9e0 scsi: core: Kill DRIVER_SENSE
Replace the check for DRIVER_SENSE with a check for
scsi_status_is_check_condition().

Audit all callsites to ensure the SAM status is set correctly. For
backwards compability move the DRIVER_SENSE definition to sg.h, and update
sg, bsg, and scsi_ioctl to set the DRIVER_SENSE driver_status whenever
SAM_STAT_CHECK_CONDITION is present.

[mkp: fix zeroday srp warning]

Link: https://lore.kernel.org/r/20210427083046.31620-10-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

fix
2021-05-31 22:48:21 -04:00
..
2021-04-28 14:27:12 -07:00
2021-05-08 21:49:48 -06:00
2021-04-28 14:27:12 -07:00
2021-04-28 17:22:10 -07:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2021-04-28 17:22:10 -07:00
2021-05-09 13:25:14 -07:00
2020-05-29 16:30:39 -06:00
2021-04-08 10:24:36 -06:00
2020-09-23 09:18:13 -06:00
2021-05-31 22:48:21 -04:00
2021-04-08 10:24:36 -06:00
2021-05-31 22:48:21 -04:00
2020-01-06 20:59:04 -07:00