]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf345a139edb5fa4d02cf330d81756523508c7e68
treea63e66a271ace518c625b78db338ebda29e272ee
parente5dee8da5abf720f69da97b62ff8cc919e045fa1
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