Re: [RESEND. PATCH] riscv: Use '%u' to format the output of 'cpu'
From: Maciej W. Rozycki
Date: Thu Sep 12 2024 - 18:13:02 EST
On Thu, 12 Sep 2024, WangYuli wrote:
> 'cpu' is an unsigned integer, so its placeholder should be %u, not %d.
NB the proper ISO C and POSIX term for `%u', `%d', etc. is "conversion
specifier" rather than "placeholder".
Maciej