diff options
| author | Anders Roxell <[email protected]> | 2021-12-07 12:00:53 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-12-07 15:36:56 +0100 |
| commit | a98478f825862ddc1686a3335f9f1cc278fc5733 (patch) | |
| tree | d507c8d74f9008a66bc90c1fd62c340d5c8324ae /include/linux/timerqueue.h | |
| parent | c7d58971dbea0888b6328ed0ea61089a6d62253a (diff) | |
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 <[email protected]>
Signed-off-by: Anders Roxell <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions