linux/drivers/scsi/aic7xxx
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
..
aicasm
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
aic7xxx_93cx6.c scsi: aic7xxx: aic79xx: Whitespace cleanup 2021-01-22 21:14:08 -05:00
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: aic79xx: Drop internal SCSI message definition 2021-01-22 21:14:10 -05:00
aic7xxx_inline.h
aic7xxx_osm_pci.c scsi: aic7xxx: Use generic power management 2020-11-25 23:14:30 -05:00
aic7xxx_osm.c scsi: core: Kill DRIVER_SENSE 2021-05-31 22:48:21 -04:00
aic7xxx_osm.h scsi: aic7xxx: aic79xx: Kill pointless forward declarations 2021-01-22 21:14:08 -05:00
aic7xxx_pci.c scsi: aic7xxx: Use generic power management 2020-11-25 23:14:30 -05:00
aic7xxx_pci.h
aic7xxx_proc.c scsi: aic7xxx: aic79xx: Whitespace cleanup 2021-01-22 21:14:08 -05:00
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t 2021-02-22 22:27:59 -05:00
aic7xxx.reg scsi: aic7xxx: Spelling s/configuraion/configuration/ 2019-06-18 19:46:25 -04:00
aic7xxx.seq
aic79xx_core.c scsi: aic7xxx: aic79xx: Drop internal SCSI message definition 2021-01-22 21:14:10 -05:00
aic79xx_inline.h
aic79xx_osm_pci.c scsi: aic7xxx: aic79xx: Whitespace cleanup 2021-01-22 21:14:08 -05:00
aic79xx_osm.c scsi: core: Kill DRIVER_SENSE 2021-05-31 22:48:21 -04:00
aic79xx_osm.h scsi: aic7xxx: aic79xx: Kill pointless forward declarations 2021-01-22 21:14:08 -05:00
aic79xx_pci.c scsi: aic79xx: Use generic power management 2020-11-25 23:14:30 -05:00
aic79xx_pci.h
aic79xx_proc.c scsi: aic7xxx: aic79xx: Whitespace cleanup 2021-01-22 21:14:08 -05:00
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h scsi: aic79xx: Fix spelling of version 2021-02-22 22:23:47 -05:00
aic79xx.reg
aic79xx.seq
aic7770_osm.c
aic7770.c
aiclib.h scsi: aic7xxx: aic79xx: Remove driver-defined SAM status definitions 2021-01-22 21:14:08 -05:00
cam.h
Kconfig.aic7xxx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig.aic79xx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
queue.h
scsi_iu.h
scsi_message.h scsi: aic7xxx: aic79xx: Drop internal SCSI message definition 2021-01-22 21:14:10 -05:00