mirror_qemu/hw/dma
Philippe Mathieu-Daudé 45a9eacead hw/dma/omap_dma: Move switch 'fall through' comment to correct place
Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2:

    CC      hw/dma/omap_dma.o
  hw/dma/omap_dma.c: In function ‘omap_dma_write’:
  hw/dma/omap_dma.c:1532:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
   1532 |         if (s->model <= omap_dma_3_1)
        |            ^
  hw/dma/omap_dma.c:1534:5: note: here
   1534 |     case 0x400:
        |     ^~~~
  cc1: all warnings being treated as errors

Correctly place the 'fall through' comment.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20190719131425.10835-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-08-21 10:55:23 +02:00
..
Kconfig hw/core: Add a config switch for the "register" device 2019-08-20 09:11:05 +02:00
Makefile.objs hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines 2019-08-19 21:28:25 +02:00
bcm2835_dma.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
etraxfs_dma.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
i8257.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
i82374.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
omap_dma.c hw/dma/omap_dma: Move switch 'fall through' comment to correct place 2019-08-21 10:55:23 +02:00
pl080.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pl330.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
puv3_dma.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pxa2xx_dma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
rc4030.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
soc_dma.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
sparc32_dma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
xilinx_axidma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xlnx-zdma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xlnx-zynq-devcfg.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xlnx_dpdma.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00