diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-25 11:06:10 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-07-30 17:30:50 +1000 |
| commit | 6b36f13891ab4709b7d60023005176cdd5c368cf (patch) | |
| tree | eced8c0c233a02a3046db8f04d692151feb909ce /tools/perf/scripts/python | |
| parent | 9c75402286409f5e1a75e4a445555c84066f89db (diff) | |
crypto: starfive - use scatterlist length before DMA mapping
Using sg_dma_len() is only valid after mapping a scatterlist with
dma_map_sg(). However, starfive_aes_aead_do_one_req() uses it before
mapping the scatterlist.
Use the original scatterlist length because the DMA length has not been
populated yet when CONFIG_NEED_SG_DMA_LENGTH=y.
Fixes: 7467147ef9bf ("crypto: starfive - Use dma for aes requests")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
