[RFC PATCH radeon-alex] drm/amdgpu: kfd_initialized can be static
kernel test robot
lkp at intel.com
Wed Sep 23 02:28:28 UTC 2020
Fixes: 0b54e1e30e9f ("drm/amdgpu: Fix handling of KFD initialization failures")
Signed-off-by: kernel test robot <lkp at intel.com>
---
amdgpu_amdkfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
index 7f14461f7f402..01780bb8727f6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
@@ -36,7 +36,7 @@
*/
uint64_t amdgpu_amdkfd_total_mem_size;
-bool kfd_initialized;
+static bool kfd_initialized;
int amdgpu_amdkfd_init(void)
{
More information about the dri-devel
mailing list