mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
501849d97e
With gcc, we get a warning in this file: In file included from include/linux/io.h:13, from sound/soc/samsung/s3c-i2s-v2.c:16: sound/soc/samsung/s3c-i2s-v2.c: In function 's3c2412_i2s_trigger': arch/arm/include/asm/io.h:92:22: error: this statement may fall through [-Werror=implicit-fallthrough=] #define __raw_writel __raw_writel ^ arch/arm/include/asm/io.h:299:29: note: in expansion of macro '__raw_writel' #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) ^~~~~~~~~~~~ arch/arm/include/asm/io.h:307:36: note: in expansion of macro 'writel_relaxed' #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) ^~~~~~~~~~~~~~ sound/soc/samsung/s3c-i2s-v2.c:398:3: note: in expansion of macro 'writel' writel(0x0, i2s->regs + S3C2412_IISFIC); ^~~~~~ sound/soc/samsung/s3c-i2s-v2.c:400:2: note: here case SNDRV_PCM_TRIGGER_RESUME: ^~~~ From all I can tell, this was indeed meant to fall through, so add "fallthrough;" statement to avoid the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210927095449.1070639-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
aries_wm8994.c | ||
arndale.c | ||
bells.c | ||
dma.h | ||
dmaengine.c | ||
h1940_uda1380.c | ||
i2s-regs.h | ||
i2s.c | ||
i2s.h | ||
idma.c | ||
idma.h | ||
jive_wm8750.c | ||
Kconfig | ||
littlemill.c | ||
lowland.c | ||
Makefile | ||
midas_wm1811.c | ||
neo1973_wm8753.c | ||
odroid.c | ||
pcm.c | ||
pcm.h | ||
regs-i2s-v2.h | ||
regs-iis.h | ||
rx1950_uda1380.c | ||
s3c-i2s-v2.c | ||
s3c-i2s-v2.h | ||
s3c24xx-i2s.c | ||
s3c24xx-i2s.h | ||
s3c24xx_simtec.c | ||
s3c24xx_simtec.h | ||
s3c24xx_simtec_hermes.c | ||
s3c24xx_simtec_tlv320aic23.c | ||
s3c24xx_uda134x.c | ||
s3c2412-i2s.c | ||
s3c2412-i2s.h | ||
smartq_wm8987.c | ||
smdk_spdif.c | ||
smdk_wm8580.c | ||
smdk_wm8994.c | ||
smdk_wm8994pcm.c | ||
snow.c | ||
spdif.c | ||
spdif.h | ||
speyside.c | ||
tm2_wm5110.c | ||
tobermory.c |