aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-05-02 11:24:20 +0300
committerDmitry Baryshkov <[email protected]>2022-05-07 02:10:34 +0300
commit4c1e9df7264567617ba2ed620338dfcef0618c39 (patch)
tree8b223a2c63b94129eb9b781cf3541d00cce3c553 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent88334f8c937a4c9083a73fd1e8b129d00100c472 (diff)
drm/msm/dpu: don't access mode pointer before it is set
Move the initializer for the mode variable to the declaration point to remove unitialized variable access from the DEBUG_DPU macro. This fixes the following warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:250:37: note: initialize the variable 'mode' to silence this warning Fixes: d7d0e73f7de3 ("drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback") Reported-by: kernel test robot <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/484346/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions