diff options
author | WangYuli <wangyuli@uniontech.com> | 2024-10-17 06:20:10 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-10-25 16:18:40 +0300 |
commit | e0872ab72630dada3ae055bfa410bf463ff1d1e0 (patch) | |
tree | 9b6007f4621260df8da30b3b266c6091b5658403 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 37233169a6ea912020c572f870075a63293b786a (diff) | |
download | linux-e0872ab72630dada3ae055bfa410bf463ff1d1e0.tar.xz |
riscv: Use '%u' to format the output of 'cpu'
'cpu' is an unsigned integer, so its conversion specifier should
be %u, not %d.
Suggested-by: Wentao Guan <guanwentao@uniontech.com>
Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/all/alpine.DEB.2.21.2409122309090.40372@angie.orcam.me.uk/
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>
Fixes: f1e58583b9c7 ("RISC-V: Support cpu hotplug")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/4C127DEECDA287C8+20241017032010.96772-1-wangyuli@uniontech.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions