1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Evan Quan e31ae352b7 drm/amd/pm: fix compile warnings about variable used uninitialized
Fix the compile warnings below:
>> drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:1743:13: warning: variable 'min' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
>> drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:1743:13: warning: variable 'max' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-30 14:27:15 -04:00
..
inc drm/amd/pm: perform SMC reset on suspend/hibernation 2020-10-30 01:00:43 -04:00
powerplay drm/amd/pm: fix compile warnings about variable used uninitialized 2020-10-30 14:27:15 -04:00
swsmu drm/amd/pm: fix out-of-bound read on pptable->SkuReserved 2020-10-30 01:02:18 -04:00
amdgpu_dpm.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_pm.c drm/amd/pm: set the initial value of pm info to zero 2020-10-30 00:58:18 -04:00
Makefile