summaryrefslogtreecommitdiffstats
path: root/drivers/soc/dove
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-07-30 00:52:21 +0200
committerVinod Koul <vkoul@kernel.org>2019-07-31 17:19:04 +0200
commit7f5d7425748d1cc2dadb6966ec84363d3342b5a1 (patch)
tree2e395c3996f9498f2a818512d9142ae81254a0de /drivers/soc/dove
parentdmaengine: tegra210-adma: Don't program FIFO threshold (diff)
downloadlinux-7f5d7425748d1cc2dadb6966ec84363d3342b5a1.tar.xz
linux-7f5d7425748d1cc2dadb6966ec84363d3342b5a1.zip
dmaengine: imx-dma: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: arm): drivers/dma/imx-dma.c: In function ‘imxdma_xfer_desc’: drivers/dma/imx-dma.c:542:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (slot == IMX_DMA_2D_SLOT_A) { ^ drivers/dma/imx-dma.c:559:2: note: here case IMXDMA_DESC_MEMCPY: ^~~~ Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Link: https://lore.kernel.org/r/20190729225221.GA24269@embeddedor Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soc/dove')
0 files changed, 0 insertions, 0 deletions