lib/tests: string_helpers: don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use) principle.

Link: https://lore.kernel.org/20260406193425.1534197-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Kees Cook <kees@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Andy Shevchenko
2026-04-06 21:32:48 +02:00
committed by Andrew Morton
parent f53718d5a2
commit fe495c4e2e

View File

@@ -5,11 +5,16 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <kunit/test.h>
#include <linux/array_size.h>
#include <linux/kernel.h>
#include <linux/bug.h>
#include <linux/limits.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/sprintf.h>
#include <linux/string_helpers.h>
#include <linux/types.h>
static void test_string_check_buf(struct kunit *test,
const char *name, unsigned int flags,