qemu-e2k/hw/display
Philippe Mathieu-Daudé ada4406516 hw/display/tcx: Add missing fall through comments
When building with GCC9 using CFLAG -Wimplicit-fallthrough=2 we get:

  hw/display/tcx.c: In function ‘tcx_dac_writel’:
  hw/display/tcx.c:453:26: error: this statement may fall through [-Werror=implicit-fallthrough=]
    453 |             s->dac_index = (s->dac_index + 1) & 0xff; /* Index autoincrement */
        |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  hw/display/tcx.c:454:9: note: here
    454 |         default:
        |         ^~~~~~~
  hw/display/tcx.c: In function ‘tcx_dac_readl’:
  hw/display/tcx.c:412:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
    412 |         s->dac_index = (s->dac_index + 1) & 0xff; /* Index autoincrement */
        |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  hw/display/tcx.c:413:5: note: here
    413 |     default:
        |     ^~~~~~~
  cc1: all warnings being treated as errors

Give a hint to GCC by adding the missing fall through comments.

Fixes: 55d7bfe22
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20191218192526.13845-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:07 +01:00
..
ads7846.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
ati_2d.c ati-vga: Fix reverse bit blts 2019-07-05 09:50:33 +02:00
ati_dbg.c ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati_int.h ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati_regs.h ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati.c ati: use vga_read_byte in ati_cursor_define 2019-09-19 10:37:46 +02:00
bcm2835_fb.c hw/arm/bcm2835_peripherals: Name various address spaces 2019-10-15 18:09:05 +01:00
blizzard.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
bochs-display.c display/bochs-display: fix memory leak 2019-12-20 07:05:46 +01:00
cg3.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cirrus_vga_internal.h
cirrus_vga_isa.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
dpcd.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
edid-generate.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
edid-region.c Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
exynos4210_fimd.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
framebuffer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
framebuffer.h
g364fb.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
i2c-ddc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
jazz_led.c mips: jazz: Renovate coding style 2019-12-16 13:04:46 +01:00
Kconfig hw/m68k: add Nubus macfb video card 2019-10-28 19:06:49 +01:00
macfb.c hw/m68k: add Nubus macfb video card 2019-10-28 19:06:49 +01:00
Makefile.objs hw/m68k: add Nubus macfb video card 2019-10-28 19:06:49 +01:00
milkymist-tmu2.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
milkymist-vgafb_template.h
milkymist-vgafb.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
next-fb.c m68k: Add NeXTcube framebuffer device emulation 2019-09-07 08:30:34 +02:00
omap_dss.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
omap_lcd_template.h
omap_lcdc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pl110_template.h
pl110.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
pxa2xx_lcd.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
pxa2xx_template.h
qxl-logger.c
qxl-render.c console: add graphic_hw_update_done() 2020-01-02 13:54:57 +04:00
qxl.c console: add graphic_hw_update_done() 2020-01-02 13:54:57 +04:00
qxl.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ramfb-standalone.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ramfb.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
sii9022.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
sm501_template.h
sm501.c sm501: make SerialMM a child, export chardev property 2020-01-07 17:24:29 +04:00
ssd0303.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ssd0323.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tc6393xb_template.h
tc6393xb.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tcx.c hw/display/tcx: Add missing fall through comments 2020-01-24 20:59:07 +01:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
vga_int.h vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vga_regs.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
vga-access.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-helpers.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-isa-mm.c vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vga-isa.c vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vga-pci.c hw/display: Remove "rombar" hack from vga-pci and vmware_vga 2019-12-18 02:34:12 +01:00
vga.c vga: cleanup mapping of VRAM for non-PCI VGA 2019-12-18 02:34:13 +01:00
vhost-user-gpu-pci.c hw/display: add vhost-user-vga & gpu-pci 2019-05-29 06:30:45 +02:00
vhost-user-gpu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vhost-user-vga.c hw/display: add vhost-user-vga & gpu-pci 2019-05-29 06:30:45 +02:00
virtio-gpu-3d.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
virtio-gpu-base.c virtio-gpu: split virtio-gpu, introduce virtio-gpu-base 2019-05-29 06:30:45 +02:00
virtio-gpu-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
virtio-gpu.c sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h 2019-08-16 13:31:53 +02:00
virtio-vga.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
virtio-vga.h Clean up a header guard symbols (again) 2019-06-12 13:20:21 +02:00
vmware_vga.c hw/display: Remove "rombar" hack from vga-pci and vmware_vga 2019-12-18 02:34:12 +01:00
xenfb.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xlnx_dp.c display: xlnx_dp: Provide sufficient bytes for silent audio channel 2019-11-21 07:12:28 +01:00