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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8e6c0123099039c2f69715f57ef7ba42.sboyd@kernel.org>
Date: Fri, 07 Mar 2025 15:38:46 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>, Daniel Lezcano <daniel.lezcano@...aro.org>, Florian Fainelli <florian.fainelli@...adcom.com>, Jonathan Corbet <corbet@....net>, Luca Ceresoli <luca.ceresoli@...tlin.com>, Lukasz Luba <lukasz.luba@....com>, Petr Mladek <pmladek@...e.com>, Rafael J. Wysocki <rafael@...nel.org>, Rasmus Villemoes <linux@...musvillemoes.dk>, Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>, Sergey Senozhatsky <senozhatsky@...omium.org>, Steven Rostedt <rostedt@...dmis.org>, Zhang Rui <rui.zhang@...el.com>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Michael Turquette <mturquette@...libre.com>, Geert Uytterhoeven <geert+renesas@...der.be>, Liu Ying <victor.liu@....com>, linux-clk@...r.kernel.org, linux-pm@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org, Luca Ceresoli <luca.ceresoli@...tlin.com>
Subject: Re: [PATCH 2/2] vsprintf: remove redundant and unused %pCn format specifier

Quoting Luca Ceresoli (2025-03-07 03:19:08)
> %pC and %pCn print the same string, and commit 900cca294425 ("lib/vsprintf:
> add %pC{,n,r} format specifiers for clocks") introducing them does not
> clarify any intended difference. It can be assumed %pC is a default for
> %pCn as some other specifiers do, but not all are consistent with this
> policy. Moreover there is now no other suffix other than 'n', which makes a
> default not really useful.
> 
> All users in the kernel were using %pC except for one which has been
> converted. So now remove %pCn and all the unnecessary extra code and
> documentation.
> 
> Signed-off-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
> ---

Acked-by: Stephen Boyd <sboyd@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ