forked from Minki/linux
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: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
f2957f1f19
commit
7d7d2b8031
@ -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[%ld]:"
|
||||
"HC[%lu]:SC[%lu]:NMI[%lu]\n",
|
||||
current->trace_recursion,
|
||||
hardirq_count() >> HARDIRQ_SHIFT,
|
||||
|
Loading…
Reference in New Issue
Block a user