linux/drivers/scsi/aic94xx
Arnd Bergmann 75c0b0e118 compat_ioctl: scsi: handle HDIO commands from drivers
The ata_sas_scsi_ioctl() function implements a number of HDIO_* commands
for SCSI devices, it is used by all libata drivers as well as a few
drivers that support SAS attached SATA drives.

The only command that is not safe for compat ioctls here is
HDIO_GET_32BIT. Change the implementation to check for in_compat_syscall()
in order to do both cases correctly, and change all callers to use it
as both native and compat callback pointers, including the indirect
callers through sas_ioctl and ata_scsi_ioctl.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-01-03 09:42:52 +01:00
..
aic94xx_dev.c SCSI misc on 20190709 2019-07-11 15:14:01 -07:00
aic94xx_dump.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_dump.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_hwi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_hwi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_init.c compat_ioctl: scsi: handle HDIO commands from drivers 2020-01-03 09:42:52 +01:00
aic94xx_reg_def.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sas.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_scb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sds.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_seq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_seq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_task.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_tmf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
Kconfig treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 2019-06-19 17:09:09 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00