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] [day] [month] [year] [list]
Message-ID: <aW4Ghy94jAGSPml3@hovoldconsulting.com>
Date: Mon, 19 Jan 2026 11:25:11 +0100
From: Johan Hovold <johan@...nel.org>
To: Archit Anant <architanant5@...il.com>
Cc: vireshk@...nel.org, elder@...nel.org, gregkh@...uxfoundation.org,
	greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev,
	linux-kernel@...r.kernel.org, Julia Lawall <Julia.Lawall@...ia.fr>
Subject: Re: [PATCH 1/1] staging: greybus: fw-core: use %pe for error printing

[ +CC: Julia ]

On Sun, Jan 18, 2026 at 11:35:48AM +0530, Archit Anant wrote:
> Use the %pe printk format specifier to print error codes as symbolic
> names (e.g., -ENOMEM) instead of numeric values. This improves
> readability of error logs.

Greybus and this driver uses numerical errnos in its error messages so
this will introduce a needless inconsistency for no good reason.

> Issue identified by coccicheck using the ptr_err_to_pe.cocci script.

Also see:

	https://lore.kernel.org/all/20251029132922.17329-1-johan@kernel.org/

Johan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ