[PATCH V2 0/5] mm: Convert sysfs sprintf family to sysfs_emit

From: Joe Perches
Date: Sat Nov 14 2020 - 13:50:56 EST


Use the new sysfs_emit family and not the sprintf family.

V2: Correct missing page test defect in mm/slub.c slabs_cpu_partial_show()
Trivial update to commit message in mm: shmem

Joe Perches (5):
mm: Use sysfs_emit for struct kobject * uses
mm: huge_memory: Convert remaining use of sprintf to sysfs_emit and
neatening
mm:backing-dev: Use sysfs_emit in macro defining functions
mm: shmem: Convert shmem_enabled_show to use sysfs_emit_at
mm: slub: Convert sysfs sprintf family to sysfs_emit/sysfs_emit_at

mm/backing-dev.c | 8 +--
mm/huge_memory.c | 56 +++++++++++-------
mm/hugetlb.c | 13 ++--
mm/khugepaged.c | 22 +++----
mm/ksm.c | 32 +++++-----
mm/shmem.c | 21 ++++---
mm/slub.c | 150 ++++++++++++++++++++++++-----------------------
mm/swap_state.c | 3 +-
8 files changed, 164 insertions(+), 141 deletions(-)

--
2.26.0