diff options
author | zhangguopeng <[email protected]> | 2024-10-29 18:18:53 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-11 00:26:46 -0800 |
commit | 408a8dc6232294ac83f233f869f425725765d2e1 (patch) | |
tree | 85793e8fdc56a11053eca6cceecaf4c40771a9b9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f914ac96ee8828368f5a24553e75216d76da0b42 (diff) |
mm/memory-failure: 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.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: zhangguopeng <[email protected]>
Acked-by: Miaohe Lin <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions