aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2025-05-07 16:09:12 +0000
committerChristian König <[email protected]>2025-06-11 11:18:07 +0000
commitafe382843717d44b24ef5014d57dcbaab75a4052 (patch)
tree6be7d9cb4047164a1e1aae112bb4519a9c6e0c4f /rust/helpers/vmalloc.c
parentdma-buf: fix compare in WARN_ON_ONCE (diff)
downloadkernel-afe382843717d44b24ef5014d57dcbaab75a4052.tar.gz
kernel-afe382843717d44b24ef5014d57dcbaab75a4052.zip
udmabuf: use sgtable-based scatterlist wrappers
Use common wrappers operating directly on the struct sg_table objects to fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*() functions have to be called with the number of elements originally passed to dma_map_sg_*() function, not the one returned in sgtable's nents. Fixes: 1ffe09590121 ("udmabuf: fix dma-buf cpu access") CC: [email protected] Signed-off-by: Marek Szyprowski <[email protected]> Acked-by: Vivek Kasireddy <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions