diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-10 09:42:17 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-07-17 18:09:22 +1000 |
| commit | 3ae59a2eba64b3648f069aa52eeaaeefdfe4bb2f (patch) | |
| tree | 693859471aa3751d14f8a084201c04af2cdf04e7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 52cd75d8f5a024cad9643f4755dbe6bff1e5aec8 (diff) | |
crypto: sl3516 - drop invalid sg_dma_len checks before DMA mapping
sg_dma_len() is only valid after mapping the scatterlist with
dma_map_sg(). However, sl3516_ce_need_fallback() checks it before the
source and destination scatterlists are mapped. Thus, a stale DMA length
that is not a multiple of 16 could incorrectly force a software fallback
when CONFIG_NEED_SG_DMA_LENGTH=y.
Remove the invalid checks; the existing scatterlist length checks are
sufficient.
Fixes: 46c5338db7bd ("crypto: sl3516 - Add sl3516 crypto engine")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
