diff options
author | Jarkko Nikula <[email protected]> | 2023-09-21 08:57:01 +0300 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-09-25 23:35:14 +0200 |
commit | b8806e0c939f168237593af0056c309bf31022b0 (patch) | |
tree | b04e514a065b0142f5b6cdcdbe34bfa9a55a9c63 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 7ccd40edc1f5c43e3f1c7d209336d3981943ab63 (diff) |
i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
Fix following warning (with CONFIG_DMA_API_DEBUG) which happens with a
transfer without a data buffer.
DMA-API: i3c mipi-i3c-hci.0: device driver tries to free DMA memory it has not allocated [device address=0x0000000000000000] [size=0 bytes]
For those transfers the hci_dma_queue_xfer() doesn't create a mapping and
the DMA address pointer xfer->data_dma is not set.
Signed-off-by: Jarkko Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions