[PATCH] drm/amdgpu/powerplay/smu7: fix unintialized data usage

2016-11-08 Thread Arnd Bergmann
A recent bugfix replaced an out-of-bounds access with direct use of unintialized data: drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c: In function 'smu7_patch_limits_vddc': drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c:2033:6: error: 'vddc' may be used uninitialized in this function [-Werro

[PATCH] drm/amdgpu/powerplay/smu7: fix unintialized data usage

2016-11-08 Thread Alex Deucher
On Tue, Nov 8, 2016 at 8:52 AM, Arnd Bergmann wrote: > A recent bugfix replaced an out-of-bounds access with direct > use of unintialized data: > > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c: In function > 'smu7_patch_limits_vddc': > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c:2033:6: