projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2957f1
)
ring-buffer: fix printk output
author
Steven Rostedt
<srostedt@redhat.com>
Mon, 27 Apr 2009 16:37:49 +0000
(12:37 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Wed, 29 Apr 2009 04:42:01 +0000
(
00:42
-0400)
The warning output in trace_recursive_lock uses %d for a long when
it should be %ld.
[ Impact: fix compile warning ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c
patch
|
blob
|
history
diff --git
a/kernel/trace/ring_buffer.c
b/kernel/trace/ring_buffer.c
index
9692f10
..
f4cc590
100644
(file)
--- a/
kernel/trace/ring_buffer.c
+++ b/
kernel/trace/ring_buffer.c
@@
-1491,7
+1491,7
@@
static int trace_recursive_lock(void)
/* Disable all tracing before we do anything else */
tracing_off_permanent();
- printk_once(KERN_WARNING "Tracing recursion: depth[%d]:"
+ printk_once(KERN_WARNING "Tracing recursion: depth[%
l
d]:"
"HC[%lu]:SC[%lu]:NMI[%lu]\n",
current->trace_recursion,
hardirq_count() >> HARDIRQ_SHIFT,