diff options
| author | zhangguopeng <[email protected]> | 2024-11-05 09:49:41 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-11-12 01:17:05 +0000 |
| commit | 45dac1959bbdc498a2abb89919221455225789dc (patch) | |
| tree | 66345aa96686b11a4ff28af03be15d748908129a /tools/perf/scripts/python/sctop.py | |
| parent | lib: util_macros_kunit: add kunit test for util_macros.h (diff) | |
| download | kernel-45dac1959bbdc498a2abb89919221455225789dc.tar.gz kernel-45dac1959bbdc498a2abb89919221455225789dc.zip | |
kernel/reboot: replace sprintf() with sysfs_emit()
As Documentation/filesystems/sysfs.rst suggested, show() should only use
sysfs_emit() or sysfs_emit_at() when formatting the value to be returned
to user space.
No functional change intended.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: zhangguopeng <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Joel Granados <[email protected]>
Cc: Thomas Weißschuh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
