Skip to content

lib/vsprintf: Rework header inclusions

Andy Shevchenko linux-mm lkml 3 versions – Applied

Status from this message: [merged mm-nonmm-stable] lib-vsprintf-declare-no_hash_pointers-in-sprintfh.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied 2/2
  2. v23 patches 36 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- dropped sorting headers patch (Petr)
- added tag (Marco)

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2lib/vsprintf: Split out sprintf() and friendsinclude/linux/kernel.h include/linux/sprintf.h lib/test_printf.c +1 more+28 -291 replyApplied
2/2lib/vsprintf: Declare no_hash_pointers in sprintf.hinclude/linux/sprintf.h lib/test_printf.c mm/kfence/report.c+3 -41 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarco ElverPetr Mladek
1/2R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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
Signature · 1 line
2.40.0.1.gaa8946217a0b