[RFC PATCH gabbayo] drm/amdkfd: kfd_dev_is_large_bar() can be static

Oded Gabbay oded.gabbay at gmail.com
Tue Apr 24 09:07:18 UTC 2018


On Tue, Mar 27, 2018 at 7:55 PM, kbuild test robot
<fengguang.wu at intel.com> wrote:
>
>
> Fixes: 5ec7e02854b3 ("drm/amdkfd: Add ioctls for GPUVM memory management")
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
> ---
>  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 a563ff2..2a36592 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
> @@ -1091,7 +1091,7 @@ static int kfd_ioctl_acquire_vm(struct file *filep, struct kfd_process *p,
>         return ret;
>  }
>
> -bool kfd_dev_is_large_bar(struct kfd_dev *dev)
> +static bool kfd_dev_is_large_bar(struct kfd_dev *dev)
>  {
>         struct kfd_local_mem_info mem_info;
>

Thanks,
applied to -fixes
Oded


More information about the dri-devel mailing list