diff options
author | Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> | 2023-10-13 13:36:32 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-10-13 14:08:42 -0600 |
commit | 27c734f4402243f478348108d8a2ebd6e3e5e8a3 (patch) | |
tree | d3a2907101915ca5239a7dd1b8eb003636bfc429 /tools/perf/scripts/python/libxed.py | |
parent | d3772e7badd2cd3813e2efba0034f6e39aecc97f (diff) |
selftests/resctrl: Fix wrong format specifier
Compiling resctrl selftest after adding a __printf() attribute to
ksft_print_msg() exposes -Wformat warning in show_cache_info().
The format specifier used expects a variable of type int but a long
unsigned int variable is passed instead.
Change the format specifier to match the passed variable.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions