diff options
author | Leesoo Ahn <dev@ooseel.net> | 2020-09-01 15:04:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-01 20:44:53 +0200 |
commit | 355db39110100b968c8291a1a7d897f92e17a8df (patch) | |
tree | 302cbae790a826bc2f9edce0202de9a781519416 /net | |
parent | net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode (diff) | |
download | linux-355db39110100b968c8291a1a7d897f92e17a8df.tar.xz linux-355db39110100b968c8291a1a7d897f92e17a8df.zip |
pktgen: fix error message with wrong function name
Error on calling kthread_create_on_node prints wrong function name,
kernel_thread.
Fixes: 94dcf29a11b3 ("kthread: use kthread_create_on_node()")
Signed-off-by: Leesoo Ahn <dev@ooseel.net>
Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index b53b6d38c4df..fce968b673b3 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -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); return PTR_ERR(p); |