OSDN Git Service

drm/amd/amdgpu: Fix amdgpu_set_pp_od_clk_voltage error check
authorErnst Sjöstrand <ernstp@gmail.com>
Mon, 24 Jun 2019 15:15:40 +0000 (17:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:23:34 +0000 (13:23 -0500)
commit616ae02f6c81da410163abe721a350ef6fa0d504
treea63e66a271ace518c625b78db338ebda29e272ee
parent0172591e219bca3bfc6cfde958fc1148d20173a4
drm/amd/amdgpu: Fix amdgpu_set_pp_od_clk_voltage error check

Reported by smatch:
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:693 amdgpu_set_pp_od_clk_voltage() error: uninitialized symbol 'ret'.

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