mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-30 00:04:37 +00:00
2d0a071e62
These were passing a NULL buffer pointer unconditionally, which happens
to behave in a mostly benign way (except for the chance of an excess
memory region unref and a bounce buffer leak). Per the function comment,
this was never meant to be accepted though, and triggers an assertion
with the "softmmu: Support concurrent bounce buffers" change.
Given that the code in question never sets up any mappings, just remove
the unnecessary dma_memory_unmap calls along with the DBDMA_io struct
fields that are now entirely unused.
Signed-off-by: Mattias Nissler <mnissler@rivosinc.com>
Message-Id: <20240916175708.1829059-1-mnissler@rivosinc.com>
Fixes:
|
||
---|---|---|
.. | ||
ahci-allwinner.c | ||
ahci-internal.h | ||
ahci.c | ||
atapi.c | ||
cf.c | ||
cmd646.c | ||
core.c | ||
ich.c | ||
ide-bus.c | ||
ide-dev.c | ||
ide-internal.h | ||
ioport.c | ||
isa.c | ||
Kconfig | ||
macio.c | ||
meson.build | ||
microdrive.c | ||
mmio.c | ||
pci.c | ||
piix.c | ||
sii3112.c | ||
trace-events | ||
trace.h | ||
via.c |