vfio: remove an extra semicolon

remove an extra semicolon from the example code

Signed-off-by: foryun.ma <foryun.ma@jaguarmicro.com>
Link: https://lore.kernel.org/r/20240510003735.2766-1-foryun.ma@jaguarmicro.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
foryun.ma 2024-05-10 14:37:35 +14:00 committed by Alex Williamson
parent f6944d4a0b
commit dda057ad8c

View File

@ -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);