[PATCH v2 0/3] lib/vsprintf: Rework header inclusions

From: Andy Shevchenko
Date: Sat Aug 05 2023 - 13:49:46 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.

Changelog v2:
- covered test_printf.c in patches 1 & 2
- do not remove likely implict inclusions (Rasmus)
- declare no_hash_pointers in sprintf.h (Marco, Steven, Rasmus)

Andy Shevchenko (3):
lib/vsprintf: Sort headers alphabetically
lib/vsprintf: Split out sprintf() and friends
lib/vsprintf: Declare no_hash_pointers in sprintf.h

include/linux/kernel.h | 30 +-----------------------------
include/linux/sprintf.h | 27 +++++++++++++++++++++++++++
lib/test_printf.c | 20 ++++++++------------
lib/vsprintf.c | 39 +++++++++++++++++++++------------------
mm/kfence/report.c | 3 +--
5 files changed, 58 insertions(+), 61 deletions(-)
create mode 100644 include/linux/sprintf.h

--
2.40.0.1.gaa8946217a0b