diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-05-24 17:47:08 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-03 20:24:03 +0800 |
commit | e7662cb9e99ef0fd15b8a0dcb3e5d7b32f9812d4 (patch) | |
tree | 640d68188e07a440b7abe52db1276ebe59406c8c /drivers/char | |
parent | a5c164b195a89aedc8179d68cedf00e7f8baa58e (diff) |
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions