From: Lucas De Marchi Date: Tue, 9 Nov 2021 02:33:19 +0000 (-0800) Subject: include/linux/string_helpers.h: add linux/string.h for strlen() X-Git-Tag: v6.1-rc5~2692^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfb3ba32061da1a9217ef6d02fbcffb528e4c8df;p=platform%2Fkernel%2Flinux-starfive.git include/linux/string_helpers.h: add linux/string.h for strlen() linux/string_helpers.h uses strlen(), so include the correponding header. Otherwise we get a compilation error if it's not also included by whoever included the helper. Link: https://lkml.kernel.org/r/20211005212634.3223113-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/string_helpers.h b/include/linux/string_helpers.h index 68189c4..4ba39e1 100644 --- a/include/linux/string_helpers.h +++ b/include/linux/string_helpers.h @@ -4,6 +4,7 @@ #include #include +#include #include struct file;