mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
tracing: %pF is only for function pointers
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
This commit is contained in:
parent
80a9b64e2c
commit
bbedb17994
7 changed files with 17 additions and 17 deletions
|
|
@ -3976,7 +3976,7 @@ static struct print_arg *make_bprint_args(char *fmt, void *data, int size, struc
|
|||
if (asprintf(&arg->atom.atom, "%lld", ip) < 0)
|
||||
goto out_free;
|
||||
|
||||
/* skip the first "%pf: " */
|
||||
/* skip the first "%ps: " */
|
||||
for (ptr = fmt + 5, bptr = data + field->offset;
|
||||
bptr < data + size && *ptr; ptr++) {
|
||||
int ls = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue