2021-06-03 12:31:08

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH -next v3] crypto: hisilicon - switch to memdup_user_nul()

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 <[email protected]>
> Signed-off-by: Zou Wei <[email protected]>
> ---
> drivers/crypto/hisilicon/qm.c | 13 +++----------
> 1 file changed, 3 insertions(+), 10 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt