Commit 7d7d2b80 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

ring-buffer: fix printk output

The warning output in trace_recursive_lock uses %d for a long when
it should be %ld.

[ Impact: fix compile warning ]
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent f2957f1f
...@@ -1491,7 +1491,7 @@ static int trace_recursive_lock(void) ...@@ -1491,7 +1491,7 @@ static int trace_recursive_lock(void)
/* Disable all tracing before we do anything else */ /* Disable all tracing before we do anything else */
tracing_off_permanent(); tracing_off_permanent();
printk_once(KERN_WARNING "Tracing recursion: depth[%d]:" printk_once(KERN_WARNING "Tracing recursion: depth[%ld]:"
"HC[%lu]:SC[%lu]:NMI[%lu]\n", "HC[%lu]:SC[%lu]:NMI[%lu]\n",
current->trace_recursion, current->trace_recursion,
hardirq_count() >> HARDIRQ_SHIFT, hardirq_count() >> HARDIRQ_SHIFT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment