aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-03-24 17:46:02 +0800
committerAlex Deucher <[email protected]>2022-03-31 23:05:54 -0400
commite84c8ab52dc76b09cb1c8885950ad4eaaf340bf6 (patch)
treefba563734137e91e1b9a7873eac09b7719c45b95 /tools/perf/scripts/python/stackcollapse.py
parent44e121fbf155edc93eceaae273038afbf90f52a7 (diff)
drm/amd/display: Fix pointer dereferenced before checking
The value actual_pix_clk_100Hz is dereferencing pointer pix_clk_params before pix_clk_params is being null checked. Fix this by assigning pix_clk_params->requested_pix_clk_100hz to actual_pix_clk_100Hz only if pix_clk_params is not NULL, otherwise just NULL. Signed-off-by: Haowen Bai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions