diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2019-11-06 10:24:38 -0500 |
---|---|---|
committer | Thanos <tmakatos@gmail.com> | 2019-11-07 16:21:48 +0100 |
commit | 1cf913cc674f2cb3d8197c638749550bf3d4507c (patch) | |
tree | 00bb3f4953a06bda381c3adf5df7be6b4498b918 /lib/dma.c | |
parent | 6686b7f5963c834566ba57787e949e7d0ffb29f7 (diff) | |
download | libvfio-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |