]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun8i-ss - fix memdup.cocci warnings
authorkbuild test robot <lkp@intel.com>
Fri, 1 Nov 2019 08:55:34 +0000 (09:55 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Nov 2019 15:15:52 +0000 (23:15 +0800)
commit80f91708602c2dd951eb7c227705e0eaf52b21d9
tree41dd410d2b309cbbda731d726615ed53913fc697
parent770950df9b7fc36a8554276ca5d64c88dba61d5a
crypto: sun8i-ss - fix memdup.cocci warnings

Use kmemdup rather than duplicating its implementation

Generated by: scripts/coccinelle/api/memdup.cocci

Fixes: da6d15b4f8cc ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
CC: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c