[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240729014725.29839-4-richard.weiyang@gmail.com>
Date: Mon, 29 Jul 2024 01:47:24 +0000
From: Wei Yang <richard.weiyang@...il.com>
To: rppt@...nel.org,
richard.weiyang@...il.com
Cc: linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: [PATCH v2 4/5] 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@...il.com>
---
v2: include ctype.h in kernel.h
---
tools/testing/memblock/linux/kernel.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/memblock/linux/kernel.h b/tools/testing/memblock/linux/kernel.h
index c16d9cd2d1ae..4d1012d5be6e 100644
--- a/tools/testing/memblock/linux/kernel.h
+++ b/tools/testing/memblock/linux/kernel.h
@@ -9,5 +9,6 @@
#include <linux/linkage.h>
#include <linux/kconfig.h>
#include <linux/string.h>
+#include <linux/ctype.h>
#endif
--
2.34.1
Powered by blists - more mailing lists