Commit ebf8893
committed
crypto: octeontx2 - add missing check for dma_map_single
JIRA: https://issues.redhat.com/browse/RHEL-31478
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
commit 6a6d6a3
Author: Chen Ni <nichen@iscas.ac.cn>
Date: Mon Apr 8 01:59:14 2024 +0000
crypto: octeontx2 - add missing check for dma_map_single
Add check for dma_map_single() and return error if it fails in order
to avoid invalid dma address.
Fixes: e929711 ("crypto: octeontx2 - add ctx_val workaround")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Bharat Bhushan <bbhushan2@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Štěpán Horáček <shoracek@redhat.com>1 parent 4a522af commit ebf8893
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| |||
0 commit comments