diff mbox

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

Message ID 20180327165526.GA10946@lkp-sb05 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu March 27, 2018, 4:55 p.m. UTC
Fixes: 5ec7e02854b3 ("drm/amdkfd: Add ioctls for GPUVM memory management")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 kfd_chardev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Oded Gabbay April 24, 2018, 9:07 a.m. UTC | #1
On Tue, Mar 27, 2018 at 7:55 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
>
>
> Fixes: 5ec7e02854b3 ("drm/amdkfd: Add ioctls for GPUVM memory management")
> Signed-off-by: Fengguang Wu <fengguang.wu@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
diff mbox

Patch

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;