crypto: testmgr - use kmemdup
authorChristopher Diaz Riveros <chrisadr@gentoo.org>
Tue, 29 Jan 2019 00:01:18 +0000 (19:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Feb 2019 07:29:48 +0000 (15:29 +0800)
commite3d90e52ea5fe58d39297df1c825db6e131fb04f
treee9f4b62f1816dcf9753a6ec1b3e5b98775c998d9
parent8336bdf12a9ea5bb77bb32d215a34485fb66245c
crypto: testmgr - use kmemdup

Fixes coccinnelle alerts:

/crypto/testmgr.c:2112:13-20: WARNING opportunity for kmemdup
/crypto/testmgr.c:2130:13-20: WARNING opportunity for kmemdup
/crypto/testmgr.c:2152:9-16: WARNING opportunity for kmemdup

Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c