mbox series

[v1,0/4] lib/vsprintf: Rework header inclusions

Message ID 20230804082619.61833-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series lib/vsprintf: Rework header inclusions | expand

Message

Andy Shevchenko Aug. 4, 2023, 8:26 a.m. UTC
Some patches that reduce the mess with the header inclusions related to
vsprintf.c module. Each patch has its own description, and has no
dependencies to each other, except the collisions over modifications
of the same places. Hence the series.

Andy Shevchenko (4):
  lib/vsprintf: Declare no_hash_pointers in a local header
  lib/vsprintf: Sort headers alphabetically
  lib/vsprintf: Remove implied inclusions
  lib/vsprintf: Split out sprintf() and friends

 include/linux/kernel.h  | 30 +-----------------------------
 include/linux/sprintf.h | 24 ++++++++++++++++++++++++
 lib/test_printf.c       |  4 ++--
 lib/vsprintf.c          | 38 ++++++++++++++++++++------------------
 lib/vsprintf.h          |  7 +++++++
 mm/kfence/report.c      |  3 +--
 6 files changed, 55 insertions(+), 51 deletions(-)
 create mode 100644 include/linux/sprintf.h
 create mode 100644 lib/vsprintf.h