[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1533300002-27105-1-git-send-email-zhongjiang@huawei.com>
Date: Fri, 3 Aug 2018 20:40:02 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <mingo@...hat.com>, <peterz@...radead.org>, <tglx@...utronix.de>,
<rostedt@...dmis.org>
CC: <linux-kernel@...r.kernel.org>
Subject: [PATCH] kernel/kthread: Make function __kthread_queue_delayed_work static
Fix the following warning.
kernel/kthread.c:859:6: warning: symbol '__kthread_queue_delayed_work' was not declared. Should it be static?
Signed-off-by: zhong jiang <zhongjiang@...wei.com>
---
kernel/kthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 087d18d..3c661a0 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -856,7 +856,7 @@ void kthread_delayed_work_timer_fn(struct timer_list *t)
}
EXPORT_SYMBOL(kthread_delayed_work_timer_fn);
-void __kthread_queue_delayed_work(struct kthread_worker *worker,
+static void __kthread_queue_delayed_work(struct kthread_worker *worker,
struct kthread_delayed_work *dwork,
unsigned long delay)
{
--
1.7.12.4
Powered by blists - more mailing lists