]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu10k1: Fix annotation and cast for the recent uapi header change
authorTakashi Iwai <tiwai@suse.de>
Sun, 2 Feb 2020 09:07:23 +0000 (10:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 2 Feb 2020 09:08:24 +0000 (10:08 +0100)
commit96021ae1f112f513d193dfc30477319e6b61e0f6
treeac9ca18f563b5546aa18a65e2806d5d3824e0855
parentce5bfe5d3af7c44b915ae2dc34b2bbb8f2da39e0
ALSA: emu10k1: Fix annotation and cast for the recent uapi header change

The recent sound/emu10k1.h uapi header change by the commit
143f57a12a81 ("ALSA: emu10k1: Make uapi/emu10k1.h compilable again")
made sparse angry because of the inconsistency of __user annotation
and the own ctl id struct that were changed in uapi header.

This patch addresses those by adjusting the cast and annotations
properly again.

Fixes: 143f57a12a81 ("ALSA: emu10k1: Make uapi/emu10k1.h compilable again")
Link: https://lore.kernel.org/r/20200202090724.18232-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c