[PATCH] ALSA: compat_ioctl: avoid compat_alloc_user_space
Takashi Iwai
tiwai at suse.de
Mon Sep 21 10:37:35 CEST 2020
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 at arndb.de>
Applied now. Thanks!
Takashi
More information about the Alsa-devel
mailing list