]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: cpu_ops_sbi: smp_processor_id() returns int, not unsigned int
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 2 Jan 2026 14:58:39 +0000 (14:58 +0000)
committerPaul Walmsley <pjw@kernel.org>
Wed, 7 Jan 2026 20:03:16 +0000 (13:03 -0700)
commit2ca5bb54bde739b32ed42758fff8dc1025c1225f
tree3cf6b72f8edd9a8893663deeea82a889e459a211
parent003c03a4b40085784d5b661133d1124f7e587e02
riscv: cpu_ops_sbi: smp_processor_id() returns int, not unsigned int

The print in sbi_cpu_stop() assumes smp_processor_id() returns an
unsigned int, when it is actually an int. Fix the format string to
avoid mismatch type warnings in rht pr_crit().

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://patch.msgid.link/20260102145839.657864-1-ben.dooks@codethink.co.uk
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/cpu_ops_sbi.c