From: Gustavo A. R. Silva Date: Fri, 4 Jun 2021 07:27:14 +0000 (-0500) Subject: ASoC: ti: davinci-mcasp: Fix fall-through warning for Clang X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=50d790012a48f0f2f1dc8e4c214054283e529ae9;p=linux.git ASoC: ti: davinci-mcasp: Fix fall-through warning for Clang In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a fallthrough; statement. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva Acked-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20210604072714.GA244640@embeddedor Signed-off-by: Mark Brown --- diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c index b94220306d1a8..017a5a5e56cd1 100644 --- a/sound/soc/ti/davinci-mcasp.c +++ b/sound/soc/ti/davinci-mcasp.c @@ -2317,6 +2317,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev) break; default: dev_err(&pdev->dev, "No DMA controller found (%d)\n", ret); + fallthrough; case -EPROBE_DEFER: goto err; }