linux/drivers/scsi/cxlflash
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
..
backend.h
common.h
cxl_hw.c
Kconfig
lunmgt.c
main.c pci-v5.13-changes 2021-05-05 13:24:11 -07:00
main.h
Makefile
ocxl_hw.c ocxl: Update the Process Element Entry 2020-12-04 01:01:30 +11:00
ocxl_hw.h scsi: cxlflash: Access interrupt trigger page from xive directly 2020-08-25 01:31:31 +10:00
sislite.h
superpipe.c scsi: core: Kill DRIVER_SENSE 2021-05-31 22:48:21 -04:00
superpipe.h
vlun.c scsi: cxlflash: Fix some misnaming related doc-rot 2021-03-18 23:41:08 -04:00
vlun.h