]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/amdgpu: Fix uninitialized variable warnings
authorMa Ke <make24@iscas.ac.cn>
Thu, 18 Jul 2024 14:17:35 +0000 (22:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:33:38 +0000 (17:33 -0400)
commit6472de66c0aa18d50a4b5ca85f8272e88a737676
treea8bf6bfac93044202e6c326330aa07bc80ca7995
parent93381e6b61804b777f60357d96d6254eb10b9b56
drm/amd/amdgpu: Fix uninitialized variable warnings

Return 0 to avoid returning an uninitialized variable r.

Cc: stable@vger.kernel.org
Fixes: 230dd6bb6117 ("drm/amd/amdgpu: implement mode2 reset on smu_v13_0_10")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c