mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
ALSA: sparc/dbri: add missing fallthrough
JIRA: https://issues.redhat.com/browse/RHEL-183296 commit 2bcbb163162789d3488562073dbb99d9bd71a762 Author: Rosen Penev <rosenp@gmail.com> Date: Tue May 5 20:18:54 2026 -0700 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> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user