aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorKevin Wang <[email protected]>2020-08-06 23:41:47 +0800
committerAlex Deucher <[email protected]>2020-08-14 16:22:40 -0400
commite1a84641d478f7f35a8189f447da107c473ef0d0 (patch)
tree43384099ec1c8985e3c37efff7f7eb9a522eda98 /tools/perf/scripts/python/stat-cpi.py
parentba4e049e63b607ac2e0c070b1406826390d5047e (diff)
drm/amdgpu: fix uninit-value in arcturus_log_thermal_throttling_event()
when function arcturus_get_smu_metrics_data() call failed, it will cause the variable "throttler_status" isn't initialized before use. warning: powerplay/arcturus_ppt.c:2268:24: warning: ‘throttler_status’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2268 | if (throttler_status & logging_label[throttler_idx].feature_mask) { Signed-off-by: Kevin Wang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions