[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 10 Sep 2010 00:01:17 +0200
From: Jiri Slaby <jslaby@...e.cz>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, jirislaby@...il.com
Subject: [PATCH 1/1] softirq: improve preempt count error message
* add a space after the action
* print function name instead of address of action (%p->%pf)
Signed-off-by: Jiri Slaby <jslaby@...e.cz>
---
kernel/softirq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c
index be3ec11..60c864f 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -219,8 +219,8 @@ restart:
h->action(h);
trace_softirq_exit(h, softirq_vec);
if (unlikely(prev_count != preempt_count())) {
- printk(KERN_ERR "huh, entered softirq %td %s %p"
- "with preempt_count %08x,"
+ printk(KERN_ERR "huh, entered softirq %td %s "
+ "%pf with preempt_count %08x,"
" exited with %08x?\n", h - softirq_vec,
softirq_to_name[h - softirq_vec],
h->action, prev_count, preempt_count());
--
1.7.2.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists