diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-11-24 19:29:01 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-30 15:59:08 -0800 |
commit | 8ef9c32a12a8a0012a4988050947c45521260c5d (patch) | |
tree | 35b3c9ce5c4abd14ba79af2504863ff81f3d7e1d /fs/proc | |
parent | 7e25de77bc5ea56cc3ff618fc8f4ea1896a4dbb3 (diff) |
mm: vmscan: use sysfs_emit() to instead of scnprintf()
Replace open-coded snprintf() with sysfs_emit() to simplify the code.
Link: https://lkml.kernel.org/r/202211241929015476424@zte.com.cn
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions