diff options
author | Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> | 2023-10-13 13:36:29 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-10-13 14:08:26 -0600 |
commit | a8cfb036115cf840978dd9c384a5cf30899e14b2 (patch) | |
tree | f4e868183e00915e9560a4434932b555bb42ff90 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4d7f4e8158b62f63031510cdc24acc520956c091 (diff) |
selftests/sigaltstack: Fix wrong format specifier
Compiling sigaltstack selftest after adding a __printf() attribute to
ksft_print_msg() exposes -Wformat warning in main().
The format specifier inside ksft_print_msg() expects a long
unsigned int but the passed variable is of unsigned int type.
Fix the format specifier so it matches the passed variable.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions