]> git.dujemihanovic.xyz Git - u-boot.git/commit
linux_compat: move kmemdup() from ubifs.c to linux_compat.c
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 13 Nov 2019 00:44:47 +0000 (09:44 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 6 Dec 2019 21:44:19 +0000 (16:44 -0500)
commit4839e86892a6f9f8bd2449f4c622639a1ca5ea62
treec1bec504fd9c4c9acc652678ff6277e44cd3582e
parent31839dc2d2bb0ecfe0ec0d736e09c8d9d3020977
linux_compat: move kmemdup() from ubifs.c to linux_compat.c

linux_compat.c is the best place for kmemdup(), which is currenly used
only in ubifs.c, but will also be used when other kernel files
(in my case, lib/crypto/x509_cert_parser.c and pkcs7_parser.c) will be
imported. So just move it.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/ubifs/ubifs.c
lib/linux_compat.c