1
0
Fork 0
alistair23-linux/drivers/gpu/drm/savage
Gustavo A. R. Silva bd4d73a1db drm/savage: 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/savage/savage_state.c:301:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/savage/savage_state.c:438:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/savage/savage_state.c:559:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/gpu/drm/savage/savage_state.c:697:8: 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/20190129202005.GA25789@embeddedor
2019-01-30 17:35:29 +01:00
..
Makefile drm/savage: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:34 +02:00
savage_bci.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
savage_drv.c drm/pci: Deprecate drm_pci_init/exit completely 2017-06-20 10:41:03 +02:00
savage_drv.h drm: Change the return type of the unload hook to void 2017-01-09 11:25:22 +01:00
savage_state.c drm/savage: mark expected switch fall-throughs 2019-01-30 17:35:29 +01:00