]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdkfd: Fix prototype warning for get_process_num_bos
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Thu, 10 Feb 2022 22:20:45 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Feb 2022 21:20:17 +0000 (16:20 -0500)
Fix the warning: no previous prototype for 'get_process_num_bos'
[-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c

index d5699aa79578a17bc40dc3e83aea10e292ae4fdc..54d997f304b516cc1b70a05e3dcbaa9174772297 100644 (file)
@@ -1648,7 +1648,7 @@ exit:
        return ret;
 }
 
-uint32_t get_process_num_bos(struct kfd_process *p)
+static uint32_t get_process_num_bos(struct kfd_process *p)
 {
        uint32_t num_of_bos = 0;
        int i;