]> 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)
commit61ee61a815fca20dedff7f0a0c8e31dc6c1d2b28
treee9dde93ebe5c6dbbfc69ed80fad0eab4b652d994
parent56e6a111d838fff4a2cad7897e1dfb2d82ff4add
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