linux-stable/sound/ppc
Anders Roxell a98478f825 ALSA: ppc: beep: fix clang -Wimplicit-fallthrough
Clang warns:

sound/ppc/beep.c:103:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
        case SND_TONE: break;
        ^
sound/ppc/beep.c:103:2: note: insert 'break;' to avoid fall-through
        case SND_TONE: break;
        ^
        break;
1 warning generated.

Clang is more pedantic than GCC, which does not warn when failing
through to a case that is just break or return. Clang's version
is more in line with the kernel's own stance in deprecated.rst.
Add athe missing break to silence the warning.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://lore.kernel.org/r/20211207110053.695712-1-anders.roxell@linaro.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-12-07 15:36:56 +01:00
..
awacs.c ALSA: Replace the word "slave" in vmaster API 2020-07-20 10:10:47 +02:00
awacs.h
beep.c ALSA: ppc: beep: fix clang -Wimplicit-fallthrough 2021-12-07 15:36:56 +01:00
burgundy.c
burgundy.h
daca.c ALSA: poewrmac: Fix assignment in if condition 2021-06-09 17:30:36 +02:00
Kconfig
keywest.c ALSA: poewrmac: Fix assignment in if condition 2021-06-09 17:30:36 +02:00
Makefile
pmac.c ALSA: poewrmac: Fix assignment in if condition 2021-06-09 17:30:36 +02:00
pmac.h
powermac.c ALSA: ppc: fix error return code in snd_pmac_probe() 2021-06-16 08:52:29 +02:00
snd_ps3.c powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
snd_ps3.h
snd_ps3_reg.h ALSA: ps3: fix spelling typo of values 2021-03-02 10:26:13 +01:00
tumbler.c ALSA: poewrmac: Fix assignment in if condition 2021-06-09 17:30:36 +02:00
tumbler_volume.h