Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit e7662cb9 authored by Zou Wei's avatar Zou Wei Committed by Herbert Xu
Browse files

crypto: hisilicon - switch to memdup_user_nul()


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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a5c164b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment