WSL2-Linux-Kernel/drivers/scsi/sym53c8xx_2
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
..
Makefile
sym53c8xx.h
sym_defs.h
sym_fw.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
sym_fw.h
sym_fw1.h
sym_fw2.h
sym_glue.c scsi: core: Kill DRIVER_SENSE 2021-05-31 22:48:21 -04:00
sym_glue.h
sym_hipd.c scsi: Remove unneeded break statements 2020-10-26 18:23:24 -04:00
sym_hipd.h
sym_malloc.c
sym_misc.h
sym_nvram.c
sym_nvram.h