Skip to content

Commit 377ec83

Browse files
dmaengine: fsldma: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through. Fix the following warnings (Building: powerpc-ppa8548_defconfig powerpc): drivers/dma/fsldma.c: In function ‘fsl_dma_chan_probe’: drivers/dma/fsldma.c:1165:26: warning: this statement may fall through [-Wimplicit-fallthrough=] chan->toggle_ext_pause = fsl_chan_toggle_ext_pause; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/dma/fsldma.c:1166:2: note: here case FSL_DMA_IP_83XX: ^~~~ Reported-by: kbuild test robot <lkp@intel.com> Acked-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
1 parent 609488b commit 377ec83

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/dma/fsldma.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,7 @@ static int fsl_dma_chan_probe(struct fsldma_device *fdev,
11631163
switch (chan->feature & FSL_DMA_IP_MASK) {
11641164
case FSL_DMA_IP_85XX:
11651165
chan->toggle_ext_pause = fsl_chan_toggle_ext_pause;
1166+
/* Fall through */
11661167
case FSL_DMA_IP_83XX:
11671168
chan->toggle_ext_start = fsl_chan_toggle_ext_start;
11681169
chan->set_src_loop_size = fsl_chan_set_src_loop_size;

0 commit comments

Comments
 (0)