]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memblock test: fix implicit declaration of function 'isspace'
authorWei Yang <richard.weiyang@gmail.com>
Tue, 6 Aug 2024 01:03:18 +0000 (01:03 +0000)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Tue, 6 Aug 2024 05:21:25 +0000 (08:21 +0300)
commit8ac13bc7c266102f1068faafa5314522b68ebe65
tree976dcedf9c154c73bff43d408b7eec06b0ebd9d0
parenta88cde5769d523e4ae6aad61237e4a5f6bd2309a
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>
tools/testing/memblock/linux/kernel.h