summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorforyun.ma <foryun.ma@jaguarmicro.com>2024-05-10 14:37:35 +1400
committerAlex Williamson <alex.williamson@redhat.com>2024-05-10 11:15:21 -0600
commitdda057ad8c9c5f1dcd6cc33ada0fa5fceb5acacc (patch)
tree7b268906d1159a4c75446687205ca0ee963b2dd8 /Documentation/driver-api
parentf6944d4a0b87c16bc34ae589169e1ded3d4db08e (diff)
downloadlinux-dda057ad8c9c5f1dcd6cc33ada0fa5fceb5acacc.tar.gz
linux-dda057ad8c9c5f1dcd6cc33ada0fa5fceb5acacc.tar.bz2
linux-dda057ad8c9c5f1dcd6cc33ada0fa5fceb5acacc.zip
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>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/vfio.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/vfio.rst b/Documentation/driver-api/vfio.rst
index 633d11c7fa71..2a21a42c9386 100644
--- a/Documentation/driver-api/vfio.rst
+++ b/Documentation/driver-api/vfio.rst
@@ -364,7 +364,7 @@ IOMMUFD IOAS/HWPT to enable userspace DMA::
MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);
map.iova = 0; /* 1MB starting at 0x0 from device view */
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);