Re: [PATCH -next v3] crypto: hisilicon - switch to memdup_user_nul()
From: Herbert Xu
Date: Thu Jun 03 2021 - 08:28:55 EST
On Mon, May 24, 2021 at 05:47:08PM +0800, Zou Wei wrote:
> Use memdup_user_nul() helper instead of open-coding to
> simplify the code.
>
> v1-->v2:
> fixed patch title error
> v2-->v3:
> return the actual error
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 13 +++----------
> 1 file changed, 3 insertions(+), 10 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt