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

tanzirh
2023-12-14T21:07:23Z

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@gmail.com

---
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@google.com>