diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-03-05 15:09:13 +0100 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-03-09 16:15:14 +0200 |
| commit | 9b0ee949f7940786b0292329c2ae1f5dd63e69ba (patch) | |
| tree | 7ca4a5206373df80da353bf159f0736889d6a1d7 /include/linux | |
| parent | d913a5a12b4036e4219b02777d0a9c70e37a6620 (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
