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