summaryrefslogtreecommitdiffstats
path: root/lib/test_sysctl.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-07-29 17:27:52 -0500
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2019-07-30 11:35:40 +0200
commit4de09ffcf4f622876668b76c8e416f4143b32a9e (patch)
tree1c14e46a5f28ad8d559c48b0a2eda6cd0d5682ab /lib/test_sysctl.c
parent63b87c310a8326c2d0721ab6c981493d590aa542 (diff)
downloadlinux-stable-4de09ffcf4f622876668b76c8e416f4143b32a9e.tar.gz
linux-stable-4de09ffcf4f622876668b76c8e416f4143b32a9e.tar.bz2
linux-stable-4de09ffcf4f622876668b76c8e416f4143b32a9e.zip
drm: sti: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: arm): drivers/gpu/drm/sti/sti_hdmi.c: In function ‘hdmi_audio_configure’: drivers/gpu/drm/sti/sti_hdmi.c:851:13: warning: this statement may fall through [-Wimplicit-fallthrough=] audio_cfg |= HDMI_AUD_CFG_CH78_VALID; drivers/gpu/drm/sti/sti_hdmi.c:852:2: note: here case 6: ^~~~ drivers/gpu/drm/sti/sti_hdmi.c:853:13: warning: this statement may fall through [-Wimplicit-fallthrough=] audio_cfg |= HDMI_AUD_CFG_CH56_VALID; drivers/gpu/drm/sti/sti_hdmi.c:854:2: note: here case 4: ^~~~ drivers/gpu/drm/sti/sti_hdmi.c:855:13: warning: this statement may fall through [-Wimplicit-fallthrough=] audio_cfg |= HDMI_AUD_CFG_CH34_VALID | HDMI_AUD_CFG_8CH; drivers/gpu/drm/sti/sti_hdmi.c:856:2: note: here case 2: ^~~~ Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190729222752.GA20277@embeddedor
Diffstat (limited to 'lib/test_sysctl.c')
0 files changed, 0 insertions, 0 deletions