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

Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named
memory at boot up") introduce the usage of strscpy, which breaks the
memblock test.

Let's define it as strcpy in userspace to fix it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://lore.kernel.org/r/20240806010319.29194-5-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
tools/include/linux/string.h