Skip to content

Commit

Permalink
drm/amdkfd: Fix prototype warning for get_process_num_bos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rajneesh Bhardwaj authored and Alex Deucher committed Feb 11, 2022
1 parent b010a46 commit 24992ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ static int criu_checkpoint_devices(struct kfd_process *p,
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;
Expand Down

0 comments on commit 24992ab

Please sign in to comment.