lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ