aboutsummaryrefslogtreecommitdiff
path: root/lib/dma.c
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2019-11-06 10:24:38 -0500
committerThanos <tmakatos@gmail.com>2019-11-07 16:21:48 +0100
commit1cf913cc674f2cb3d8197c638749550bf3d4507c (patch)
tree00bb3f4953a06bda381c3adf5df7be6b4498b918 /lib/dma.c
parent6686b7f5963c834566ba57787e949e7d0ffb29f7 (diff)
downloadlibvfio-user-1cf913cc674f2cb3d8197c638749550bf3d4507c.zip
libvfio-user-1cf913cc674f2cb3d8197c638749550bf3d4507c.tar.gz
libvfio-user-1cf913cc674f2cb3d8197c638749550bf3d4507c.tar.bz2
enable -Wall, -Wextra, and -Werror and fix all warnings
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/dma.c')
-rw-r--r--lib/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dma.c b/lib/dma.c
index b88f980..27901a1 100644
--- a/lib/dma.c
+++ b/lib/dma.c
@@ -277,7 +277,7 @@ dma_unmap_region(dma_memory_region_t *region, void *virt_addr, size_t len)
}
int
-_dma_addr_sg_split(lm_ctx_t *lm_ctx, const dma_controller_t *dma,
+_dma_addr_sg_split(const dma_controller_t *dma,
dma_addr_t dma_addr, uint32_t len,
dma_sg_t *sg, int max_sg)
{