Commit dd1a502c authored by Qi Tao's avatar Qi Tao Committed by Herbert Xu
Browse files

crypto: hisilicon/sec2 - fix some cleanup issues



This patch fixes following cleanup issues:
 - The return value of the function is
   inconsistent with the actual return type.
 - After the pointer type is directly converted
   to the `__le64` type, the program may crash
   or produce unexpected results.

Signed-off-by: default avatarQi Tao <taoqi10@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c4af4225
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment