diff options
| author | Colin Ian King <[email protected]> | 2020-06-10 11:58:04 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2020-06-11 07:05:31 +0000 |
| commit | 291ddeb621e4a9f1ced8302a777fbd7fbda058c6 (patch) | |
| tree | ab9132e3a6a63df4f5fc9c45abf66bd51bd5da41 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | drm/sun4i: hdmi ddc clk: Fix size of m divider (diff) | |
| download | kernel-291ddeb621e4a9f1ced8302a777fbd7fbda058c6.tar.gz kernel-291ddeb621e4a9f1ced8302a777fbd7fbda058c6.zip | |
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: 259d14a76a27 ("drm/ast: Split ast_set_vbios_mode_info()")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Tested-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
