Update header inclusions to follow IWYU (Include What You Use) principle.
Unified · Split
| @@ -5,11 +5,16 @@ · 4 unmodified lines | |||
| 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 6 | 6 | ||
| 7 | #include <kunit/test.h> | 7 | #include <kunit/test.h> |
| 8 | |||
| 8 | #include <linux/array_size.h> | 9 | #include <linux/array_size.h> |
| 9 | #include <linux/kernel.h> | 10 | #include <linux/bug.h> |
| 11 | #include <linux/limits.h> | ||
| 12 | #include <linux/module.h> | ||
| 10 | #include <linux/random.h> | 13 | #include <linux/random.h> |
| 11 | #include <linux/string.h> | 14 | #include <linux/slab.h> |
| 15 | #include <linux/sprintf.h> | ||
| 12 | #include <linux/string_helpers.h> | 16 | #include <linux/string_helpers.h> |
| 17 | #include <linux/types.h> | ||
| 13 | 18 | ||
| 14 | static void test_string_check_buf(struct kunit *test, | 19 | static void test_string_check_buf(struct kunit *test, |
| 15 | const char *name, unsigned int flags, | 20 | const char *name, unsigned int flags, |