diff options
| author | Neal Liu <neal_liu@aspeedtech.com> | 2023-02-24 05:05:21 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-14 12:06:44 +0300 |
| commit | a1862c3b0875a0cdfa0e30c508855324577e124b (patch) | |
| tree | b242025686086c191fbb99e5ac01af87e606271e /include/linux/cdev.h | |
| parent | f84155ca851849e5e8981fddd3945a6cfeea220c (diff) | |
| download | linux-a1862c3b0875a0cdfa0e30c508855324577e124b.tar.xz | |
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 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
