diff options
| author | zhangguopeng <zhangguopeng@kylinos.cn> | 2024-10-29 18:18:53 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-11 00:26:46 -0800 |
| commit | 408a8dc6232294ac83f233f869f425725765d2e1 (patch) | |
| tree | 85793e8fdc56a11053eca6cceecaf4c40771a9b9 /tools/docs/parse-headers.py | |
| 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/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/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
