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
ast_dram_tables.h
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
ast_tables.h
ast_ttm.c
Kconfig
Makefile