aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/soc_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/soc_dma.c')
-rw-r--r--hw/dma/soc_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/soc_dma.c b/hw/dma/soc_dma.c
index 45516241c6..58502721fa 100644
--- a/hw/dma/soc_dma.c
+++ b/hw/dma/soc_dma.c
@@ -345,7 +345,7 @@ void soc_dma_port_add_mem(struct soc_dma_s *soc, uint8_t *phys_base,
while (entry < dma->memmap + dma->memmap_size &&
entry->addr <= virt_base)
entry ++;
- }
+ }
memmove(entry + 1, entry,
(uint8_t *) (dma->memmap + dma->memmap_size ++) -