]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memblock test: fix implicit declaration of function 'memparse'
authorWei Yang <richard.weiyang@gmail.com>
Tue, 6 Aug 2024 01:03:17 +0000 (01:03 +0000)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Tue, 6 Aug 2024 05:21:25 +0000 (08:21 +0300)
commita88cde5769d523e4ae6aad61237e4a5f6bd2309a
treedd9def9633a688b9b3f8c6d0aa1a5b57a557aec4
parent9f76c2ade323121f9006f6a529e0795317e16b5c
memblock test: fix implicit declaration of function 'memparse'

Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named
memory at boot up") introduce the usage of memparse(), which is not
defined in memblock test.

Add the definition and link it to fix the build.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://lore.kernel.org/r/20240806010319.29194-3-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
tools/include/linux/string.h
tools/lib/cmdline.c [new file with mode: 0644]
tools/testing/memblock/Makefile
tools/testing/memblock/linux/kernel.h