mbox series

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

Message ID cover.1604261483.git.joe@perches.com (mailing list archive)
Headers show
Series mm: Convert sysfs sprintf family to sysfs_emit | expand

Message

Joe Perches Nov. 1, 2020, 8:12 p.m. UTC
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(-)