diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-05 20:18:54 -0700 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-05-06 10:09:17 +0200 |
| commit | 2bcbb163162789d3488562073dbb99d9bd71a762 (patch) | |
| tree | 3d7d4ac19b6b481f05743fde08c8482da87a899e | |
| parent | 5337213381df578058e2e41da93cbd0e4639935f (diff) | |
ALSA: sparc/dbri: add missing fallthrough
Fixes compiler error with probably newer compilers:
sound/sparc/dbri.c:595:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
595 | case 1:
| ^
sound/sparc/dbri.c:595:2: note: insert 'break;' to avoid fall-through
595 | case 1:
| ^
| break;
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260506031854.780411-1-rosenp@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
| -rw-r--r-- | sound/sparc/dbri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index 75f82a92ff44..2f5f62079fa4 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c @@ -592,6 +592,7 @@ static __u32 reverse_bytes(__u32 b, int len) fallthrough; case 2: b = ((b & 0xaaaaaaaa) >> 1) | ((b & 0x55555555) << 1); + fallthrough; case 1: case 0: break; |
