Skip to content

Commit 8ac13bc

Browse files
RichardWeiYangrppt
authored andcommitted
memblock test: fix implicit declaration of function 'isspace'
Commit 1e4c64b ("mm/memblock: Add "reserve_mem" to reserved named memory at boot up") introduce usage of isspace(). Let's include <linux/ctype.h> in kernel.h to fix this. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Link: https://lore.kernel.org/r/20240806010319.29194-4-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
1 parent a88cde5 commit 8ac13bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/memblock/linux/kernel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
#include <linux/linkage.h>
1010
#include <linux/kconfig.h>
1111
#include <linux/string.h>
12+
#include <linux/ctype.h>
1213

1314
#endif

0 commit comments

Comments
 (0)