diff options
| author | Gustavo A. R. Silva <[email protected]> | 2019-07-28 23:22:40 +0000 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2019-08-13 11:53:37 +0000 |
| commit | 0c0d1ec21b2f6070e22b54b2de874f1af960ced8 (patch) | |
| tree | b42c1bb17c864bf77581e43213c081e343b8679e /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | Merge branch 'ti-sysc-fixes' into fixes (diff) | |
| download | kernel-0c0d1ec21b2f6070e22b54b2de874f1af960ced8.tar.gz kernel-0c0d1ec21b2f6070e22b54b2de874f1af960ced8.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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
