Thread (3 messages) flat view 3 messages, 3 authors, 2019-08-13

Re: [PATCH] dmaengine: fsldma: Mark expected switch fall-through

From: Vinod Koul <vkoul@kernel.org>
Date: 2019-08-13 04:39:33
Also in: linuxppc-dev, lkml

On 11-08-19, 19:22, Gustavo A. R. Silva wrote:
Mark switch cases where we are expecting to fall through.

Fix the following warning (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:
  ^~~~
Applied, thanks

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help