lkml.org 
[lkml]   [2020]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 1/3] scsi: aacraid: improve compat_ioctl handlers
Date
On Fri, 30 Oct 2020 17:44:19 +0100, Arnd Bergmann wrote:

> 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.

Applied to 5.11/scsi-queue, thanks!

[1/3] scsi: aacraid: Improve compat_ioctl handlers
https://git.kernel.org/mkp/scsi/c/077054215a7f
[2/3] scsi: megaraid_sas: Check user-provided offsets
https://git.kernel.org/mkp/scsi/c/381d34e376e3
[3/3] scsi: megaraid_sas: Simplify compat_ioctl handling
https://git.kernel.org/mkp/scsi/c/bba84aeccafb

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2020-11-11 03:59    [W:0.073 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site