diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-30 19:44:19 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-05 05:54:11 +0300 |
commit | 077054215a7f787e389a807ece8a39247abbbc1e (patch) | |
tree | d775ec7d41f8f52d6aba1a46a89c42cf3d2e64ae /drivers/gpio/gpio-pxa.c | |
parent | 2030745877bdd2ecbeb43ff1846242d004482587 (diff) | |
download | linux-077054215a7f787e389a807ece8a39247abbbc1e.tar.xz |
scsi: aacraid: Improve compat_ioctl handlers
The use of compat_alloc_user_space() can be easily replaced by handling
compat arguments in the regular handler, and this will make it work for
big-endian kernels as well, which at the moment get an invalid indirect
pointer argument.
Calling aac_ioctl() instead of aac_compat_do_ioctl() means the compat and
native code paths behave the same way again, which they stopped when the
adapter health check was added only in the native function.
Link: https://lore.kernel.org/r/20201030164450.1253641-1-arnd@kernel.org
Fixes: 572ee53a9bad ("scsi: aacraid: check adapter health")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpio/gpio-pxa.c')
0 files changed, 0 insertions, 0 deletions