Commit 2bcbb163 authored by Rosen Penev's avatar Rosen Penev Committed by Takashi Iwai
Browse files

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: default avatarRosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260506031854.780411-1-rosenp@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 53372133
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;