]> 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)
commit8eee97b7bb53e98147964c0b2b4d98c8bc02fd90
treea63e66a271ace518c625b78db338ebda29e272ee
parent3c1f685f482c2e4b914d0cf824143a2c95249def
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