]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: amdgpu_hwmon_show_temp: initialize temp
authorErnst Sjöstrand <ernstp@gmail.com>
Mon, 24 Jun 2019 15:15:41 +0000 (17:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:23:39 +0000 (13:23 -0500)
commite7194f38f76b26c6ff79230ad17048f1a415e592
tree6d953b9d29dffc0d5580d50f2ad6e6b26381a1c6
parentf345a139edb5fa4d02cf330d81756523508c7e68
drm/amd/amdgpu: amdgpu_hwmon_show_temp: initialize temp

Reported by smatch:
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:1496 amdgpu_hwmon_show_temp() error: uninitialized symbol 'temp'.

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c