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-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-05-21 17:01:18 -04:00
2021-03-24 22:58:33 -04:00
2021-03-24 22:54:24 -04:00
2021-05-31 22:48:21 -04:00
2020-03-11 23:07:59 -04:00
2021-04-28 17:22:10 -07:00
2021-04-15 22:44:40 -04:00
2021-04-28 17:22:10 -07:00
2021-05-31 22:48:21 -04:00
2021-05-14 22:31:25 -04:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-05-31 22:48:21 -04:00
2021-04-06 09:28:17 -06:00
2018-06-19 22:02:25 -04:00
2021-01-22 21:14:08 -05:00
2021-04-28 17:22:10 -07:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2020-03-11 23:07:59 -04:00
2021-05-31 22:48:21 -04:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-01-22 21:14:07 -05:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-01-26 22:11:17 -05:00
2021-05-31 22:48:21 -04:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2020-08-23 17:36:59 -05:00
2020-10-14 15:15:35 -07:00
2021-05-31 22:48:21 -04:00
2021-03-24 23:03:43 -04:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-04-28 17:22:10 -07:00
2021-04-17 20:25:33 -07:00
2021-05-31 22:48:21 -04:00
2018-06-19 22:02:25 -04:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2020-02-24 15:01:57 -05:00
2021-04-06 09:28:17 -06:00
2021-05-31 22:48:21 -04:00
2021-04-13 00:20:48 -04:00
2021-05-31 22:48:21 -04:00
2021-05-31 22:48:21 -04:00
2021-01-22 21:14:12 -05:00
2019-07-11 15:14:01 -07:00