]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun8i-ce - Fix memdup.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Tue, 12 Nov 2019 07:23:14 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:34 +0000 (18:48 +0800)
commit0da6e112efd031e2222518c3aa083f7d6eec1740
tree90fc3f4748a9456f425e8552858220bc03547c66
parenta08a6ac71626061b27f26bd3a871a19d82616fea
crypto: sun8i-ce - Fix memdup.cocci warnings

Use kmemdup rather than duplicating its implementation

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c