diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-20 12:35:18 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-13 12:03:14 +0300 |
| commit | 7feafba2f8ab545ae20492b71dac6c3fc781d497 (patch) | |
| tree | c49a86339b3abdb2b6a7149881aca63ce53ef1b9 /tools/perf/scripts/python/flamegraph.py | |
| parent | 9319f8ff83941d63658d230b3f02138764fceadc (diff) | |
platform/x86: think-lmi: Use sysfs_emit() in pending_reboot_show()
Replace sprintf() with sysfs_emit() in pending_reboot_show().
sysfs_emit() is preferred for formatting sysfs output because it
provides safer bounds checking.
Signed-off-by: Thorsten Blum <blum@kernel.org>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20260920103518.281843-2-blum@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
