]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/string_helpers.h: add linux/string.h for strlen()
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 Nov 2021 02:33:19 +0000 (18:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Nov 2021 18:02:50 +0000 (10:02 -0800)
commit4dafc65e6f0f2b9e029c8e30e2f3762a59693d53
treee9dde93ebe5c6dbbfc69ed80fad0eab4b652d994
parent08506fdfe16ccd1449843753098a370538db8ff3
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 <lucas.demarchi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/string_helpers.h