From cd8dd4c7b9a43be9f6ff9b967ada5d62714de0a3 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 5 Aug 2024 02:50:36 +0000 Subject: [PATCH] drm/amd/amdgpu: Fix uninitialized variable warnings From Ma Ke e150f0171c0c0c45a373a658358c51c940ed4fd9 in linux-6.6.y/6.6.44 df65aabef3c0327c23b840ab5520150df4db6b5f in mainline linux --- sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c b/sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c index ae29620b1ea..a7cef33a2a3 100644 --- a/sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c +++ b/sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c @@ -92,7 +92,7 @@ static int smu_v13_0_10_mode2_suspend_ip(struct amdgpu_device *adev) adev->ip_blocks[i].status.hw = false; } - return r; + return 0; } static int -- 2.20.1