Commit dda057ad authored by foryun.ma's avatar foryun.ma Committed by Alex Williamson

vfio: remove an extra semicolon

remove an extra semicolon from the example code
Signed-off-by: default avatarforyun.ma <foryun.ma@jaguarmicro.com>
Link: https://lore.kernel.org/r/20240510003735.2766-1-foryun.ma@jaguarmicro.comSigned-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent f6944d4a
...@@ -364,7 +364,7 @@ IOMMUFD IOAS/HWPT to enable userspace DMA:: ...@@ -364,7 +364,7 @@ IOMMUFD IOAS/HWPT to enable userspace DMA::
MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);
map.iova = 0; /* 1MB starting at 0x0 from device view */ map.iova = 0; /* 1MB starting at 0x0 from device view */
map.length = 1024 * 1024; map.length = 1024 * 1024;
map.ioas_id = alloc_data.out_ioas_id;; map.ioas_id = alloc_data.out_ioas_id;
ioctl(iommufd, IOMMU_IOAS_MAP, &map); ioctl(iommufd, IOMMU_IOAS_MAP, &map);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment