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

From: Andy Shevchenko
Date: Fri Aug 04 2023 - 04:26:40 EST


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

--
2.40.0.1.gaa8946217a0b