Skip to content
Commit bfc4a245 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-mapping: fix DMA API tracing for chained scatterlists



scatterlist allocations can be chained, and thus all iterations need to
use the chain-aware iterators.  Switch the newly added tracing to use the
proper iterators so that they work with chained scatterlists.

Fixes: 038eb433 ("dma-mapping: add tracing for dma-mapping API calls")
Reported-by: default avatar <syzbot+95e4ef83a3024384ec7a@syzkaller.appspotmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSean Anderson <sean.anderson@linux.dev>
Tested-by: default avatar <syzbot+95e4ef83a3024384ec7a@syzkaller.appspotmail.com>
parent b348b6d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment