diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-09 13:17:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-09 13:19:50 +0000 |
| commit | 6db59d357e8e720c91963dfd69604d238d2143cd (patch) | |
| tree | d0e253f8632d2e737561c148cfbd20d836072185 /tools/perf/builtin-script.c | |
| parent | perf powerpc: Fix printf conversion specifier for IP addresses (diff) | |
| download | kernel-6db59d357e8e720c91963dfd69604d238d2143cd.tar.gz kernel-6db59d357e8e720c91963dfd69604d238d2143cd.zip | |
perf arm64/s390: Fix printf conversion specifier for IP addresses
We need to use "%#" PRIx64 for u64 values, not "%lx". In arm64's and
s390x cases the compiler doesn't complain, but lets fix this in case
this code gets copied to a 32-bit arch, like with powerpc 32-bit that
got fixed in the previous patch.
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hewenliang <[email protected]>
Cc: Hu Shiyuan <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Richter <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
