mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
464a00c9e0
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 |
||
---|---|---|
.. | ||
Kconfig.megaraid | ||
Makefile | ||
mbox_defs.h | ||
mega_common.h | ||
megaraid_ioctl.h | ||
megaraid_mbox.c | ||
megaraid_mbox.h | ||
megaraid_mm.c | ||
megaraid_mm.h | ||
megaraid_sas_base.c | ||
megaraid_sas_debugfs.c | ||
megaraid_sas_fp.c | ||
megaraid_sas_fusion.c | ||
megaraid_sas_fusion.h | ||
megaraid_sas.h |