diff mbox series

vfio: remove an extra semicolon

Message ID 20240510003735.2766-1-foryun.ma@jaguarmicro.com (mailing list archive)
State New
Headers show
Series vfio: remove an extra semicolon | expand

Commit Message

foryun.ma May 10, 2024, 12:37 a.m. UTC
remove an extra semicolon from the example code

Signed-off-by: foryun.ma <foryun.ma@jaguarmicro.com>
---
 Documentation/driver-api/vfio.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Williamson May 10, 2024, 10:14 p.m. UTC | #1
On Fri, 10 May 2024 14:37:35 +1400
"foryun.ma" <foryun.ma@jaguarmicro.com> wrote:

> remove an extra semicolon from the example code
> 
> Signed-off-by: foryun.ma <foryun.ma@jaguarmicro.com>
> ---
>  Documentation/driver-api/vfio.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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);
>  

Applied to vfio next branch for v6.10.  Thanks,

Alex
diff mbox series

Patch

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