diff mbox

[RFC,gabbayo] drm/amdgpu: amdkfd_fence_ops can be static

Message ID 20180212125302.GA39847@lkp-ib04 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Feb. 12, 2018, 12:53 p.m. UTC
Fixes: 447ed3ae9ceb ("drm/amdgpu: Add KFD eviction fence")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 amdgpu_amdkfd_fence.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Oded Gabbay Feb. 25, 2018, 11:05 a.m. UTC | #1
On Mon, Feb 12, 2018 at 2:53 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
>
>
> Fixes: 447ed3ae9ceb ("drm/amdgpu: Add KFD eviction fence")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  amdgpu_amdkfd_fence.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
> index 8343e99..372578a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
> @@ -29,7 +29,7 @@
>  #include <linux/sched/mm.h>
>  #include "amdgpu_amdkfd.h"
>
> -const struct dma_fence_ops amdkfd_fence_ops;
> +static const struct dma_fence_ops amdkfd_fence_ops;
>  static atomic_t fence_seq = ATOMIC_INIT(0);
>
>  /* Eviction Fence

Thanks,

Oded.
diff mbox

Patch

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
index 8343e99..372578a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
@@ -29,7 +29,7 @@ 
 #include <linux/sched/mm.h>
 #include "amdgpu_amdkfd.h"
 
-const struct dma_fence_ops amdkfd_fence_ops;
+static const struct dma_fence_ops amdkfd_fence_ops;
 static atomic_t fence_seq = ATOMIC_INIT(0);
 
 /* Eviction Fence