summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorGustavo A. R. Silva2019-07-29 01:19:41 +0200
committerGustavo A. R. Silva2019-08-10 02:45:41 +0200
commit3da6bd945b71c5fdd5db7b19224b8fc0b4d78ed8 (patch)
treebb3bc577d547bb19e0645198855c0700f275eac4 /drivers/mfd
parentARM: alignment: Mark expected switch fall-throughs (diff)
downloadkernel-qcow2-linux-3da6bd945b71c5fdd5db7b19224b8fc0b4d78ed8.tar.gz
kernel-qcow2-linux-3da6bd945b71c5fdd5db7b19224b8fc0b4d78ed8.tar.xz
kernel-qcow2-linux-3da6bd945b71c5fdd5db7b19224b8fc0b4d78ed8.zip
ARM: OMAP: dma: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through. This patch fixes the following warnings: arch/arm/plat-omap/dma.c: In function 'omap_set_dma_src_burst_mode': arch/arm/plat-omap/dma.c:384:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (dma_omap2plus()) { ^ arch/arm/plat-omap/dma.c:393:2: note: here case OMAP_DMA_DATA_BURST_16: ^~~~ arch/arm/plat-omap/dma.c:394:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (dma_omap2plus()) { ^ arch/arm/plat-omap/dma.c:402:2: note: here default: ^~~~~~~ arch/arm/plat-omap/dma.c: In function 'omap_set_dma_dest_burst_mode': arch/arm/plat-omap/dma.c:473:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (dma_omap2plus()) { ^ arch/arm/plat-omap/dma.c:481:2: note: here default: ^~~~~~~ Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions