Loading
crypto: hisilicon/sec2 - fix some cleanup issues
maillist inclusion category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I925L9 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev.git/commit/?id=dd1a502cabcaa410c68ee9f74eae50d85e89fee3 ---------------------------------------------------------------------- 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:Qi Tao <taoqi10@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
JangShui Yang <yangjiangshui@h-partners.com>