Skip to content

Commit

Permalink
kernel/async.c: fix pr_debug statement
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Rasmus Villemoes <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Villemoes authored and torvalds committed May 7, 2021
1 parent 112dfce commit 8ba9d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ba9d40

Please sign in to comment.