Skip to content
Commit e150f017 authored by Ma Ke's avatar Ma Ke Committed by Greg Kroah-Hartman
Browse files

drm/amd/amdgpu: Fix uninitialized variable warnings

commit df65aabe upstream.

Return 0 to avoid returning an uninitialized variable r.

Cc: stable@vger.kernel.org
Fixes: 230dd6bb

 ("drm/amd/amdgpu: implement mode2 reset on smu_v13_0_10")
Signed-off-by: default avatarMa Ke <make24@iscas.ac.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 6472de66c0aa18d50a4b5ca85f8272e88a737676)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32379053
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment