[PATCH] softirq: Print the function name
From: Enlin Mu
Date: Mon Jan 05 2026 - 04:56:32 EST
Adjust the printing format from the function address to
the function name.
Signed-off-by: Enlin Mu <enlin.mu@xxxxxxxxxx>
Signed-off-by: Enlin Mu <enlin.mu@xxxxxxxxx>
---
kernel/softirq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 77198911b8dd..68ef18616fb9 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -622,7 +622,7 @@ static void handle_softirqs(bool ksirqd)
h->action();
trace_softirq_exit(vec_nr);
if (unlikely(prev_count != preempt_count())) {
- pr_err("huh, entered softirq %u %s %p with preempt_count %08x, exited with %08x?\n",
+ pr_err("huh, entered softirq %u %s %pS with preempt_count %08x, exited with %08x?\n",
vec_nr, softirq_to_name[vec_nr], h->action,
prev_count, preempt_count());
preempt_count_set(prev_count);
--
2.39.5