diff options
| author | Zhengchao Shao <[email protected]> | 2022-12-07 09:31:14 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2022-12-22 18:09:14 +0200 |
| commit | b9f420032f2ba1e634b22ca7b433e5c40ea663af (patch) | |
| tree | 8fb329ef2698880469a65024f4d6dd3a9cec66f8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 212fde3fe76e962598ce1d47b97cc78afdfc71b3 (diff) | |
wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
After the DMA buffer is mapped to a physical address, address is stored
in pktids in brcmf_msgbuf_alloc_pktid(). Then, pktids is parsed in
brcmf_msgbuf_get_pktid()/brcmf_msgbuf_release_array() to obtain physaddr
and later unmap the DMA buffer. But when count is always equal to
pktids->array_size, physaddr isn't stored in pktids and the DMA buffer
will not be unmapped anyway.
Fixes: 9a1bb60250d2 ("brcmfmac: Adding msgbuf protocol.")
Signed-off-by: Zhengchao Shao <[email protected]>
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions