]> www.infradead.org Git - users/dwmw2/linux.git/commit
memblock tests: fix implicit declaration of function 'numa_valid_node'
authorWei Yang <richard.weiyang@gmail.com>
Mon, 24 Jun 2024 01:54:32 +0000 (01:54 +0000)
committerMike Rapoport <rppt@kernel.org>
Fri, 5 Jul 2024 08:24:47 +0000 (11:24 +0300)
commit9364a7e40d54e6858479f0a96e1a04aa1204be16
tree1ed088b72dbb62c9e21fad4b05ab7496f1991427
parent94ff46de4a738e7916b68ab5cc0b0380729f02af
memblock tests: fix implicit declaration of function 'numa_valid_node'

commit 8043832e2a12 ("memblock: use numa_valid_node() helper to check
for invalid node ID") introduce a new helper numa_valid_node(), which is
not defined in memblock tests.

Let's add it in the corresponding header file.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Mike Rapoport (IBM) <rppt@kernel.org>
Link: https://lore.kernel.org/r/20240624015432.31134-1-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport <rppt@kernel.org>
tools/include/linux/numa.h