Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

memblock test: fix implicit declaration of function 'isspace'

Commit 1e4c64b71c9b ("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>

authored by

Wei Yang and committed by
Mike Rapoport (Microsoft)
8ac13bc7 a88cde57

+1
+1
tools/testing/memblock/linux/kernel.h
··· 9 9 #include <linux/linkage.h> 10 10 #include <linux/kconfig.h> 11 11 #include <linux/string.h> 12 + #include <linux/ctype.h> 12 13 13 14 #endif