aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-04-07 09:41:19 +0100
committerGitHub <noreply@github.com>2021-04-07 09:41:19 +0100
commit5db87e77d11bf60cdec904775f12bbfbf98765d3 (patch)
treeb93936be7285e44891184a3c3a884460e2e515ca /include
parent883d42828305ea242580811c8f4f44806df113fe (diff)
downloadlibvfio-user-5db87e77d11bf60cdec904775f12bbfbf98765d3.zip
libvfio-user-5db87e77d11bf60cdec904775f12bbfbf98765d3.tar.gz
libvfio-user-5db87e77d11bf60cdec904775f12bbfbf98765d3.tar.bz2
correct type for dma_sg_t::dma_addr (#425)
Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include')
-rw-r--r--include/libvfio-user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 7413db8..97618a8 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -64,7 +64,7 @@ extern "C" {
typedef void *vfu_dma_addr_t;
typedef struct {
- vfu_dma_addr_t *dma_addr;
+ vfu_dma_addr_t dma_addr;
int region;
int length;
uint64_t offset;