[PATCH] riscv: cpu_ops_sbi: smp_processor_id() returns int, not unsigned int

Paul Walmsley pjw at kernel.org
Wed Jan 7 12:05:16 PST 2026


On Fri, 2 Jan 2026, Ben Dooks wrote:

> 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 at codethink.co.uk>

Thanks, queued for v6.19-rc.


- Paul



More information about the linux-riscv mailing list