Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: sb8: Fix fall-through annotations

Replace "fallthru" with a proper "fall through" annotation.

This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Gustavo A. R. Silva and committed by
Takashi Iwai
fe1a10ba 59502295

+5 -5
+5 -5
sound/isa/sb/sb8_main.c
··· 130 130 chip->playback_format = SB_DSP_HI_OUTPUT_AUTO; 131 131 break; 132 132 } 133 - /* fallthru */ 133 + /* fall through */ 134 134 case SB_HW_201: 135 135 if (rate > 23000) { 136 136 chip->playback_format = SB_DSP_HI_OUTPUT_AUTO; 137 137 break; 138 138 } 139 - /* fallthru */ 139 + /* fall through */ 140 140 case SB_HW_20: 141 141 chip->playback_format = SB_DSP_LO_OUTPUT_AUTO; 142 142 break; ··· 287 287 chip->capture_format = SB_DSP_HI_INPUT_AUTO; 288 288 break; 289 289 } 290 - /* fallthru */ 290 + /* fall through */ 291 291 case SB_HW_20: 292 292 chip->capture_format = SB_DSP_LO_INPUT_AUTO; 293 293 break; ··· 387 387 case SB_MODE_PLAYBACK_16: /* ok.. playback is active */ 388 388 if (chip->hardware != SB_HW_JAZZ16) 389 389 break; 390 - /* fallthru */ 390 + /* fall through */ 391 391 case SB_MODE_PLAYBACK_8: 392 392 substream = chip->playback_substream; 393 393 if (chip->playback_format == SB_DSP_OUTPUT) ··· 397 397 case SB_MODE_CAPTURE_16: 398 398 if (chip->hardware != SB_HW_JAZZ16) 399 399 break; 400 - /* fallthru */ 400 + /* fall through */ 401 401 case SB_MODE_CAPTURE_8: 402 402 substream = chip->capture_substream; 403 403 if (chip->capture_format == SB_DSP_INPUT)