trace: clean up format errors in calls to trace_seq_printf
After adding the printf format checking for trace_seq_printf, several warnings now show up. This patch cleans them up. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
c37abc5515
commit
5e4abc9839
@@ -440,7 +440,7 @@ trace_fn_raw(struct trace_seq *s, struct trace_entry *entry, int flags)
|
||||
|
||||
trace_assign_type(field, entry);
|
||||
|
||||
if (!trace_seq_printf(s, "%x %x\n",
|
||||
if (!trace_seq_printf(s, "%lx %lx\n",
|
||||
field->ip,
|
||||
field->parent_ip))
|
||||
return TRACE_TYPE_PARTIAL_LINE;
|
||||
|
Reference in New Issue
Block a user