diff options
author | zhangguopeng <zhangguopeng@kylinos.cn> | 2024-10-29 13:18:53 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-11 11:26:46 +0300 |
commit | 408a8dc6232294ac83f233f869f425725765d2e1 (patch) | |
tree | 85793e8fdc56a11053eca6cceecaf4c40771a9b9 /tools/perf/scripts/python/stackcollapse.py | |
parent | f914ac96ee8828368f5a24553e75216d76da0b42 (diff) | |
download | linux-408a8dc6232294ac83f233f869f425725765d2e1.tar.xz |
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/20241029101853.37890-1-zhangguopeng@kylinos.cn
Signed-off-by: zhangguopeng <zhangguopeng@kylinos.cn>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions