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 |
||
---|---|---|
.. | ||
backend.h | ||
common.h | ||
cxl_hw.c | ||
Kconfig | ||
lunmgt.c | ||
main.c | ||
main.h | ||
Makefile | ||
ocxl_hw.c | ||
ocxl_hw.h | ||
sislite.h | ||
superpipe.c | ||
superpipe.h | ||
vlun.c | ||
vlun.h |