mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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:
parent
f6944d4a0b
commit
dda057ad8c
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user