diff options
author | 2023-09-01 15:52:56 -0300 | |
---|---|---|
committer | 2023-09-08 17:38:19 -0300 | |
commit | fb0a84e6de1b6bee0a0649cc7ed768f9ff2496bb (patch) | |
tree | 9f59e4647e4446661356d0f7875ed2d5d48ad9fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/debugfs: Add inline to drm_debugfs_dev_init() to suppres -Wunused-function (diff) | |
download | linux-rng-fb0a84e6de1b6bee0a0649cc7ed768f9ff2496bb.tar.xz linux-rng-fb0a84e6de1b6bee0a0649cc7ed768f9ff2496bb.zip |
drm/tests: Zero initialize fourccs_out
fourccs_out array is not initialized. As the
drm_fb_build_fourcc_list() doesn't necessarily change all the array,
and the test compares all of it, the comparison could fail if the
array is not initialized. Zero initialize the array to fix this.
Fixes: 371e0b186a13 ("drm/tests: Add KUnit tests for drm_fb_build_fourcc_list()")
Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901-zero-init-fourcc-list-test-v1-1-68bc4cc738c8@riseup.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions