linux_dsm_epyc7002/drivers/gpu/drm/ast
Colin Ian King 291ddeb621 drm/ast: fix missing break in switch statement for format->cpp[0] case 4
Currently the switch statement for format->cpp[0] value 4 assigns
color_index which is never read again and then falls through to the
default case and returns. This looks like a missing break statement
bug. Fix this by adding a break statement.

Addresses-Coverity: ("Unused value")
Fixes: 259d14a76a ("drm/ast: Split ast_set_vbios_mode_info()")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200610115804.1132338-1-colin.king@canonical.com
2020-06-11 09:05:31 +02:00
..
ast_dp501.c drm/ast: drop use of drmP.h 2019-07-15 18:11:31 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Set up fbdev after registering device; remove error checks 2020-04-08 16:24:23 +02:00
ast_drv.h drm/ast: Use simple encoder 2020-03-02 09:22:43 +01:00
ast_main.c drm/ast: Set up fbdev after registering device; remove error checks 2020-04-08 16:24:23 +02:00
ast_mode.c drm/ast: fix missing break in switch statement for format->cpp[0] case 4 2020-06-11 09:05:31 +02:00
ast_post.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/vram: Have VRAM MM call GEM VRAM functions directly 2019-09-12 19:54:42 +02:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Replace struct ast_fbdev with generic framebuffer emulation 2019-07-09 10:25:12 +02:00