diff options
author | Ethan Carter Edwards <ethan@ethancedwards.com> | 2025-02-10 06:51:54 +0300 |
---|---|---|
committer | Abhinav Kumar <quic_abhinavk@quicinc.com> | 2025-02-15 22:46:42 +0300 |
commit | 978ca99d6bd87b84ff7788eea4d2c328a70530f6 (patch) | |
tree | d7c3ce12957f5003022668c18cf703240913fc98 /tools/perf/scripts/python/check-perf-trace.py | |
parent | df9cf852ca3099feb8fed781bdd5d3863af001c8 (diff) | |
download | linux-978ca99d6bd87b84ff7788eea4d2c328a70530f6.tar.xz |
drm/msm/dpu: Fix uninitialized variable
There is a possibility for an uninitialized *ret* variable to be
returned in some code paths.
Fix this by initializing *ret* to 0.
Addresses-Coverity-ID: 1642546 ("Uninitialized scalar variable")
Fixes: 774bcfb73176 ("drm/msm/dpu: add support for virtual planes")
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/636201/
Link: https://lore.kernel.org/r/20250209-dpu-v2-1-114dfd4ebefd@ethancedwards.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions