OSDN Git Service

drm/amd/display/dce_mem_input: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 15 Feb 2019 16:54:42 +0000 (10:54 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Feb 2019 23:01:07 +0000 (18:01 -0500)
commitc81e5efeec48bd9c8dab08554d0209e5ea6cca1c
tree2c4d3bfc1765967a7cc904eaf7c0f3b940bc50a9
parent8328691d3b882d6b34d0928633efd4dbc1249c9d
drm/amd/display/dce_mem_input: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

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

Notice that, in this particular case, the code comment is modified
in accordance with what GCC is expecting to find.

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

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c