[PATCH v3 0/2] lib/vsprintf: Rework header inclusions

From: Andy Shevchenko
Date: Mon Aug 14 2023 - 12:26:59 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 v3:
- dropped sorting headers patch (Petr)
- added tag (Marco)

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 (2):
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 | 3 +--
lib/vsprintf.c | 1 +
mm/kfence/report.c | 3 +--
5 files changed, 31 insertions(+), 33 deletions(-)
create mode 100644 include/linux/sprintf.h

--
2.40.0.1.gaa8946217a0b