[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200801175057.GA49250@68026f9d7d78>
Date: Sun, 2 Aug 2020 01:50:57 +0800
From: kernel test robot <lkp@...el.com>
To: Oded Gabbay <oded.gabbay@...il.com>, linux-kernel@...r.kernel.org,
SW_Drivers@...ana.ai
Cc: kbuild-all@...ts.01.org, Ofir Bitton <obitton@...ana.ai>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Daniel Vetter <daniel.vetter@...ll.ch>
Subject: [RFC PATCH] habanalabs: hl_fence_release() can be static
Signed-off-by: kernel test robot <lkp@...el.com>
---
command_submission.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/habanalabs/common/command_submission.c b/drivers/misc/habanalabs/common/command_submission.c
index d19ac641b1719..e482d8d135602 100644
--- a/drivers/misc/habanalabs/common/command_submission.c
+++ b/drivers/misc/habanalabs/common/command_submission.c
@@ -38,7 +38,7 @@ void hl_sob_reset_error(struct kref *ref)
hw_sob->q_idx, hw_sob->sob_id);
}
-void hl_fence_release(struct kref *kref)
+static void hl_fence_release(struct kref *kref)
{
struct hl_fence *fence =
container_of(kref, struct hl_fence, refcount);
@@ -98,7 +98,7 @@ void hl_fence_get(struct hl_fence *fence)
kref_get(&fence->refcount);
}
-void hl_fence_init(struct hl_fence *fence)
+static void hl_fence_init(struct hl_fence *fence)
{
kref_init(&fence->refcount);
fence->error = 0;
Powered by blists - more mailing lists