[PATCH] drm/amdkfd: Fix prototype warning for get_process_num_bos
Felix Kuehling
felix.kuehling at amd.com
Fri Feb 11 18:12:15 UTC 2022
Am 2022-02-10 um 23:30 schrieb Rajneesh Bhardwaj:
> Fix the warning: no previous prototype for 'get_process_num_bos'
> [-Wmissing-prototypes]
>
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj at amd.com>
The series is
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> index d5699aa79578..54d997f304b5 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> @@ -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;
More information about the amd-gfx
mailing list