summaryrefslogtreecommitdiff
path: root/Documentation/sound/cards/audigy-mixer.rst
diff options
context:
space:
mode:
authorMin-Hua Chen <minhuadotchen@gmail.com>2023-05-17 01:38:05 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-17 18:01:51 +0300
commit24cdfcb4ccbb75d85d70460a69f3105fda33d385 (patch)
treea2a5f323f6314bbb7555488188eeaa304f64be09 /Documentation/sound/cards/audigy-mixer.rst
parentbcdbd3b7888e1db89b7b2f7c78237c9ed5c2ebb1 (diff)
downloadlinux-24cdfcb4ccbb75d85d70460a69f3105fda33d385.tar.xz
ALSA: compat_ioctl: use correct snd_ctl_elem_type_t type
SNDRV_CTL_ELEM_TYPE_* are type of snd_ctl_elem_type_t, we have to __force cast them to int when comparing them with int to fix the following sparse warnings. sound/core/control_compat.c:203:14: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:205:14: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:207:14: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:209:14: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:237:21: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:238:21: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:270:21: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer sound/core/control_compat.c:271:21: sparse: warning: restricted snd_ctl_elem_type_t degrades to integer Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com> Link: https://lore.kernel.org/r/20230516223806.185683-1-minhuadotchen@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound/cards/audigy-mixer.rst')
0 files changed, 0 insertions, 0 deletions