Skip to content
Unverified Commit e0872ab7 authored by WangYuli's avatar WangYuli Committed by Palmer Dabbelt
Browse files

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: default avatarWentao Guan <guanwentao@uniontech.com>
Suggested-by: default avatarMaciej 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: default avatarWangYuli <wangyuli@uniontech.com>
Reviewed-by: default avatarCharlie Jenkins <charlie@rivosinc.com>
Tested-by: default avatarCharlie Jenkins <charlie@rivosinc.com>
Fixes: f1e58583 ("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: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 37233169
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment