diff options
| author | 2026-03-05 15:09:13 +0100 | |
|---|---|---|
| committer | 2026-03-09 16:15:14 +0200 | |
| commit | 9b0ee949f7940786b0292329c2ae1f5dd63e69ba (patch) | |
| tree | 7ca4a5206373df80da353bf159f0736889d6a1d7 /scripts/Makefile.thinlto | |
| parent | platform/surface: surfacepro3_button: Convert to a platform driver (diff) | |
platform/x86: dell-wmi-sysman: Use sysfs_emit{_at} in show functions
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.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260305140912.258090-2-thorsten.blum@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
