1
0
Fork 0
alistair23-linux/drivers/gpu/drm/via
Gustavo A. R. Silva 88c12a0211 drm/via: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

This patch fixes the following warnings:

drivers/gpu/drm/via/via_dmablit.c:179:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/via/via_dmablit.c:185:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/via/via_dmablit.c:187:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/via/via_dmablit.c:195:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enabling
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129201742.GA25660@embeddedor
2019-01-30 17:35:29 +01:00
..
Makefile drm/via: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:14:05 +02:00
via_3d_reg.h
via_dma.c drm: Move drm_memory.c map support declarations to <drm/drm_legacy.h> 2014-09-12 15:28:12 +02:00
via_dmablit.c drm/via: mark expected switch fall-throughs 2019-01-30 17:35:29 +01:00
via_dmablit.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_drv.c drm/irq: Ditch DRIVER_IRQ_SHARED 2019-01-29 15:45:21 +01:00
via_drv.h drm: via: use ktime_get() instead of do_gettimeofday 2017-11-06 10:21:39 +01:00
via_irq.c drm/via: use monotonic time for VIA_WAIT_IRQ 2017-11-27 17:24:52 +01:00
via_map.c drm: Change the return type of the unload hook to void 2017-01-09 11:25:22 +01:00
via_mm.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01:00
via_verifier.c drm/via: use ARRAY_SIZE 2017-10-16 11:29:28 +02:00
via_verifier.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_video.c drm: Kill DRM_WAKUP and DRM_INIT_WAITQUEUE 2013-12-18 11:34:13 +10:00