diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-10-17 11:10:55 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2024-10-17 17:41:29 +0200 |
commit | 78b2770c935fc1434a95cc17613fe31165b02dfe (patch) | |
tree | ee5e742b3c69ee95d628da223cfa799c13bd196d /drivers/fpga/tests/fpga-bridge-test.c | |
parent | c964ced7726294d40913f2127c3f185a92cb4a41 (diff) |
dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory
Not all virtual addresses have physical addresses, such as if they were
vmalloc'd. Just trace the virtual address instead of trying to trace a
physical address. This aligns with the API, and is good enough to
associate dma_alloc with dma_free.
Fixes: 038eb433dc14 ("dma-mapping: add tracing for dma-mapping API calls")
Reported-by: syzbot+b4bfacdec173efaa8567@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/670ebde5.050a0220.d9b66.0154.GAE@google.com/
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions