]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
kernel/async.c: fix pr_debug statement
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 22 Apr 2021 06:42:56 +0000 (16:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 May 2021 22:09:21 +0000 (08:09 +1000)
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: Stephen Rothwell <sfr@canb.auug.org.au>
kernel/async.c

index 33258e6e20f83c319649c266142180926cba689c..45a867b8644a80e78e15bf4afef1e728e7965e01 100644 (file)
@@ -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 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);