[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241213025226.121901-1-jiapeng.chong@linux.alibaba.com>
Date: Fri, 13 Dec 2024 10:52:26 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: linux-kernel@...r.kernel.org
Cc: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] kthread: Modify mismatched function name
No functional modification involved.
kernel/kthread.c:1072: warning: expecting prototype for kthread_create_worker(). Prototype was for kthread_create_worker_on_node() instead.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=12367
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
kernel/kthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 83bf73d2355c..5d14ee046c80 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -1058,7 +1058,7 @@ __kthread_create_worker_on_node(unsigned int flags, int node,
}
/**
- * kthread_create_worker - create a kthread worker
+ * kthread_create_worker_on_node - create a kthread worker
* @flags: flags modifying the default behavior of the worker
* @node: task structure for the thread is allocated on this node
* @namefmt: printf-style name for the kthread worker (task).
--
2.32.0.3.g01195cf9f
Powered by blists - more mailing lists