@@ -3699,7 +3699,7 @@ static int __net_init pktgen_create_thread(int cpu, struct pktgen_net *pn)cpu_to_node(cpu),"kpktgend_%d",cpu);if(IS_ERR(p)){-pr_err("kernel_thread() failed for cpu %d\n",t->cpu);+pr_err("kthread_create_on_node() failed for cpu %d\n",t->cpu);list_del(&t->th_list);kfree(t);returnPTR_ERR(p);
From: "Gustavo A. R. Silva" <gustavoars@kernel.org> Date: 2020-09-01 17:19:57
On Tue, Sep 01, 2020 at 10:04:47PM +0900, Leesoo Ahn wrote:
Error on calling kthread_create_on_node prints wrong function name,
kernel_thread.
Signed-off-by: Leesoo Ahn <redacted>
You might need to add the following tag:
Fixes: 94dcf29a11b3 ("kthread: use kthread_create_on_node()")
Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Thanks
--
Gustavo
@@ -3699,7 +3699,7 @@ static int __net_init pktgen_create_thread(int cpu, struct pktgen_net *pn)cpu_to_node(cpu),"kpktgend_%d",cpu);if(IS_ERR(p)){-pr_err("kernel_thread() failed for cpu %d\n",t->cpu);+pr_err("kthread_create_on_node() failed for cpu %d\n",t->cpu);list_del(&t->th_list);kfree(t);returnPTR_ERR(p);