Files
linux/drivers/gpu/drm
Kevin Wang f5261bec20 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 <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-18 16:59:26 -04:00
..
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-04-03 17:11:41 +02:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-06-24 09:17:34 +02:00
2020-06-29 09:39:04 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-07-24 08:48:05 +10:00
2020-07-16 18:16:31 -04:00
2020-05-29 12:58:11 +02:00
2020-07-16 18:16:31 -04:00