diff options
author | Weili Qian <qianweili@huawei.com> | 2023-11-25 19:50:09 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-01 18:03:26 +0800 |
commit | fb4ac519c6caf5fdfcc30ef838cae55dbc919e2e (patch) | |
tree | f77deaeae866597711e462c5550814215cef7f89 /lib/fault-inject-usercopy.c | |
parent | a9864bae1806499ebf3757a9e71dddde5b9c48c6 (diff) |
crypto: hisilicon/sgl - small cleanups for sgl.c
1. Remove unnecessary brackets in function hisi_acc_create_sgl_pool().
2. Modify local variable type, ensure that the variable type is
consistent with the variable type to be compared.
3. Because the function clear_hw_sgl_sge() is in the task process,
obtain the value of le16_to_cpu(hw_sgl->entry_sum_in_sgl) before
loop execting to shorten the loop execution time.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/fault-inject-usercopy.c')
0 files changed, 0 insertions, 0 deletions