* [PATCH] vfio: remove an extra semicolon
@ 2024-05-10 0:37 foryun.ma
2024-05-10 22:14 ` Alex Williamson
0 siblings, 1 reply; 2+ messages in thread
From: foryun.ma @ 2024-05-10 0:37 UTC (permalink / raw)
To: corbet
Cc: alex.williamson, kvm, linux-doc, linux-kernel, angus.chen, foryun.ma
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);
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] vfio: remove an extra semicolon
2024-05-10 0:37 [PATCH] vfio: remove an extra semicolon foryun.ma
@ 2024-05-10 22:14 ` Alex Williamson
0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2024-05-10 22:14 UTC (permalink / raw)
To: foryun.ma; +Cc: corbet, kvm, linux-doc, linux-kernel, angus.chen
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-10 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-10 0:37 [PATCH] vfio: remove an extra semicolon foryun.ma
2024-05-10 22:14 ` Alex Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®