diff options
author | 2024-10-29 18:18:53 +0800 | |
---|---|---|
committer | 2024-11-11 00:26:46 -0800 | |
commit | 408a8dc6232294ac83f233f869f425725765d2e1 (patch) | |
tree | 85793e8fdc56a11053eca6cceecaf4c40771a9b9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | memcg: add flush tracepoint (diff) | |
download | wireguard-linux-408a8dc6232294ac83f233f869f425725765d2e1.tar.xz wireguard-linux-408a8dc6232294ac83f233f869f425725765d2e1.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions