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)
commit70c5350a878d945a2f6a947817260b8d373b7680
tree6d953b9d29dffc0d5580d50f2ad6e6b26381a1c6
parent616ae02f6c81da410163abe721a350ef6fa0d504
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