Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: es18xx: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 115075 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Gustavo A. R. Silva and committed by
Takashi Iwai
13a01635 734be97b

+1
+1
sound/isa/es18xx.c
··· 1024 1024 val = 3; 1025 1025 } else 1026 1026 retVal = snd_es18xx_mixer_bits(chip, 0x7a, 0x08, 0x00) != 0x00; 1027 + /* fall through */ 1027 1028 /* 4 source chips */ 1028 1029 case 0x1868: 1029 1030 case 0x1878: