summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-08-05 02:50:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-08-05 02:50:37 +0000
commitae9dfb8bca578a0d5e519b76c35ccc4bc65f0bec (patch)
tree1308861f466b56d57232341c97f300dbeef92372
parentb891c54b2f4862d494a38795dc8c8dc5097c8b62 (diff)
drm/amd/amdgpu: Fix uninitialized variable warnings
From Ma Ke e150f0171c0c0c45a373a658358c51c940ed4fd9 in linux-6.6.y/6.6.44 df65aabef3c0327c23b840ab5520150df4db6b5f in mainline linux
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/smu_v13_0_10.c2
1 files changed, 1 insertions, 1 deletions
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