mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
a753af301c
Currently a variable of type enum CT_AMIXER_CTL is used for enum CT_SUM_CTL values. This leads to warnings when using clang: sound/pci/ctxfi/ctmixer.c:945:32: warning: implicit conversion from enumeration type 'enum CT_SUM_CTL' to different enumeration type 'enum CT_AMIXER_CTL' [-Wenum-conversion] for (i = AMIXER_MASTER_F, j = SUM_IN_F; ~ ^~~~~~~~ sound/pci/ctxfi/ctmixer.c:975:29: warning: implicit conversion from enumeration type 'enum CT_SUM_CTL' to different enumeration type 'enum CT_AMIXER_CTL' [-Wenum-conversion] for (i = AMIXER_PCM_F, j = SUM_IN_F; i <= AMIXER_PCM_S; i++, j++) { ~ ^~~~~~~~ Introduce enum CT_SUM_CTL k and it instead. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
ct20k1reg.h | ||
ct20k2reg.h | ||
ctamixer.c | ||
ctamixer.h | ||
ctatc.c | ||
ctatc.h | ||
ctdaio.c | ||
ctdaio.h | ||
cthardware.c | ||
cthardware.h | ||
cthw20k1.c | ||
cthw20k1.h | ||
cthw20k2.c | ||
cthw20k2.h | ||
ctimap.c | ||
ctimap.h | ||
ctmixer.c | ||
ctmixer.h | ||
ctpcm.c | ||
ctpcm.h | ||
ctresource.c | ||
ctresource.h | ||
ctsrc.c | ||
ctsrc.h | ||
cttimer.c | ||
cttimer.h | ||
ctvmem.c | ||
ctvmem.h | ||
Makefile | ||
xfi.c |