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: <607fadd3-1c7a-4efb-8d31-8117f1ee6e50@roeck-us.net>
Date: Wed, 16 Jul 2025 07:48:03 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Khaled Elnaggar <khaledelnaggarlinux@...il.com>
Cc: jdelvare@...e.com, linux-kernel-mentees@...ts.linux.dev,
	shuah@...nel.org, linux-hwmon@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: max31827: use sysfs_emit() in
 temp1_resolution_show()

On Sat, Jul 12, 2025 at 04:14:46PM +0300, Khaled Elnaggar wrote:
> Replace scnprintf() with sysfs_emit() in temp1_resolution_show(),
> as recommended in Documentation/filesystems/sysfs.rst: show() callbacks
> should use sysfs_emit() or sysfs_emit_at() to format values returned to
> userspace.
> 
> Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@...il.com>

Applied.

Thanks,
Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ