Skip to contentSkip to conversation

kernel/async.c: fix pr_debug statement

PATCH Applied Rasmus Villemoes 1 participant 1 message Feb 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 kernel/async.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/async.c +1 -1
index 33258e6e20f8..45a867b8644a 100644
@@ -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);
Signature · 1 line
2.29.2