Re: [PATCH] ALSA: compat_ioctl: avoid compat_alloc_user_space

From: Takashi Iwai
Date: Mon Sep 21 2020 - 04:37:38 EST


On Fri, 18 Sep 2020 11:56:19 +0200,
Arnd Bergmann wrote:
>
> Using compat_alloc_user_space() tends to add complexity
> to the ioctl handling, so I am trying to remove it everywhere.
>
> The two callers in sound/core can rewritten to just call
> the same code that operates on a kernel pointer as the
> native handler.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied now. Thanks!


Takashi