commit | 18d122c0287b29e70bc312a994c7ee79738cec77 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Fri Sep 18 11:56:19 2020 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 21 10:37:07 2020 +0200 |
tree | 5310fec9f6a909f465b97350cf4fda5105149361 | |
parent | 2b987515e1d18836d9df96a5876290c8c8208348 [diff] |
ALSA: compat_ioctl: avoid compat_alloc_user_space 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@arndb.de> Link: https://lore.kernel.org/r/20200918095642.1446243-1-arnd@arndb.de Signed-off-by: Takashi Iwai <tiwai@suse.de>