]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: silence a warning in smu_v11_0_setup_pptable
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 22 Aug 2019 03:25:27 +0000 (22:25 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 23 Aug 2019 01:46:32 +0000 (11:46 +1000)
commit697280a323a12afc752abb156bcd759f0549d394
treec6043c2c2fa64614b40b58831ad876ac5be05352
parent56bb428597b108a82de0c4a54f920f0a0d027aee
drm/amdgpu/powerplay: silence a warning in smu_v11_0_setup_pptable

I think gcc is confused as I don't see how size could be used
unitialized, but go ahead and silence the warning.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190822032527.1376-1-alexander.deucher@amd.com
drivers/gpu/drm/amd/powerplay/smu_v11_0.c