Re: [PATCH v2] platform/x86: dell-wmi-sysman: Use sysfs_emit{_at} in show functions
From: Ilpo Järvinen
Date: Mon Mar 09 2026 - 10:59:34 EST
On Thu, 05 Mar 2026 15:09:13 +0100, Thorsten Blum wrote:
> Replace sprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show
> functions. sysfs_emit() and sysfs_emit_at() are preferred for formatting
> sysfs output because they provide safer bounds checking.
>
> In reset_bios_show(), use sysfs_emit_at() to avoid manual buffer size
> accounting.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: dell-wmi-sysman: Use sysfs_emit{_at} in show functions
commit: 9b0ee949f7940786b0292329c2ae1f5dd63e69ba
--
i.