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

From: Joe Perches
Date: Sun Nov 01 2020 - 15:13:05 EST


Use the new sysfs_emit family and not the sprintf family.

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 | 148 ++++++++++++++++++++++++-----------------------
mm/swap_state.c | 3 +-
8 files changed, 163 insertions(+), 140 deletions(-)

--
2.26.0