summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2021-05-07 03:02:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 04:24:11 +0200
commit8ba9d40b6b2bf62377fd6fce25e9997e42b0317a (patch)
tree99cc5b57553ec9da6a1b55c1d2d798c2c5cafa3c /kernel/async.c
parentlinux/profile.h: remove unnecessary declaration (diff)
downloadlinux-8ba9d40b6b2bf62377fd6fce25e9997e42b0317a.tar.xz
linux-8ba9d40b6b2bf62377fd6fce25e9997e42b0317a.zip
kernel/async.c: fix pr_debug statement
An async_func_t returns void - any errors encountered it has to stash somewhere for consumers to discover later. Link: https://lkml.kernel.org/r/20210226124355.2503524-1-linux@rasmusvillemoes.dk Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/async.c')
-rw-r--r--kernel/async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/async.c b/kernel/async.c
index 33258e6e20f8..45a867b8644a 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -124,7 +124,7 @@ static void async_run_entry_fn(struct work_struct *work)
if (initcall_debug && system_state < SYSTEM_RUNNING) {
rettime = ktime_get();
delta = ktime_sub(rettime, calltime);
- pr_debug("initcall %lli_%pS returned 0 after %lld usecs\n",
+ pr_debug("initcall %lli_%pS returned after %lld usecs\n",
(long long)entry->cookie,
entry->func,
(long long)ktime_to_ns(delta) >> 10);