diff options
author | Colin Ian King <[email protected]> | 2021-03-04 09:49:28 +0000 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2021-03-11 11:11:33 +0100 |
commit | 738acd49eb018feb873e0fac8f9517493f6ce2c7 (patch) | |
tree | b4f35931f034561141130a9058b432efc4380e86 /tools/perf/scripts/python/futex-contention.py | |
parent | ca63d76fd2319db984f2875992643f900caf2c72 (diff) |
qxl: Fix uninitialised struct field head.surface_id
The surface_id struct field in head is not being initialized and
static analysis warns that this is being passed through to
dev->monitors_config->heads[i] on an assignment. Clear up this
warning by initializing it to zero.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: a6d3c4d79822 ("qxl: hook monitors_config updates into crtc, not encoder.")
Signed-off-by: Colin Ian King <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions