[PATCH v2 0/2] shrink lib/string.i via IWYU

From: tanzirh
Date: Thu Dec 14 2023 - 16:08:00 EST


This patch series changes the include list of string.c to minimize
the preprocessing size. The patch series intends to remove kernel.h
which causes problems in the sh architecture because kernel.h is
not properly declared in asm/word-at-a-time.h

---

---
Changes in v2:
- Transformed into a patch series
- Changed asm inclusions to linux inclusions
- added a patch to sh
- Link to v1: https://lore.kernel.org/r/20231205-libstringheader-v1-1-7f9c573053a7@xxxxxxxxx

---
Tanzir Hasan (2):
sh: Added kernel.h to word-at-a-time
lib/string: shrink lib/string.i via IWYU

arch/sh/include/asm/word-at-a-time.h | 1 +
lib/string.c | 14 +++++++-------
2 files changed, 8 insertions(+), 7 deletions(-)
---
base-commit: 33cc938e65a98f1d29d0a18403dbbee050dcad9a
change-id: 20231204-libstringheader-e238e2af5eec

Best regards,
--
Tanzir Hasan <tanzirh@xxxxxxxxxx>