diff options
author | 2023-02-24 10:05:21 +0800 | |
---|---|---|
committer | 2023-03-14 17:06:44 +0800 | |
commit | a1862c3b0875a0cdfa0e30c508855324577e124b (patch) | |
tree | b242025686086c191fbb99e5ac01af87e606271e /arch/arm64/crypto/aes-neonbs-core.S | |
parent | padata: use alignment when calculating the number of worker threads (diff) | |
download | linux-a1862c3b0875a0cdfa0e30c508855324577e124b.tar.gz linux-a1862c3b0875a0cdfa0e30c508855324577e124b.tar.bz2 linux-a1862c3b0875a0cdfa0e30c508855324577e124b.zip |
crypto: aspeed - add error handling if dmam_alloc_coherent() failed
Since the acry_dev->buf_addr may be NULL, add error handling to
prevent any additional access to avoid potential issues.
Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/aes-neonbs-core.S')
0 files changed, 0 insertions, 0 deletions