mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
tools lib traceevent: Use proper function parameter type
The param needs to be updated when setting args up so that the loop in process_defined_func() can see the correct param->type for the farg. Cc: Borislav Petkov <bp@alien8.de> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1337740619-27925-15-git-send-email-namhyung.kim@lge.com Signed-off-by: Namhyung Kim <namhyung.kim@lge.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
b3511d0530
commit
21c69e721d
@ -3375,6 +3375,7 @@ process_defined_func(struct trace_seq *s, void *data, int size,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
farg = farg->next;
|
farg = farg->next;
|
||||||
|
param = param->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = (*func_handle->func)(s, args);
|
ret = (*func_handle->func)(s, args);
|
||||||
|
Loading…
Reference in New Issue
Block a user