[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2409122309090.40372@angie.orcam.me.uk>
Date: Thu, 12 Sep 2024 23:12:44 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: WangYuli <wangyuli@...ontech.com>
cc: paul.walmsley@...ive.com, Palmer Dabbelt <palmer@...belt.com>,
aou@...s.berkeley.edu, samuel.holland@...ive.com,
conor.dooley@...rochip.com, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, atish.patra@....com, anup@...infault.org,
guanwentao@...ontech.com, zhanjun@...ontech.com
Subject: Re: [RESEND. PATCH] riscv: Use '%u' to format the output of 'cpu'
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
Powered by blists - more mailing lists