linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead
@ 2022-05-16 10:12 Thomas Huth
  2022-05-16 10:27 ` Cornelia Huck
  2022-05-18 17:51 ` Alex Williamson
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Huth @ 2022-05-16 10:12 UTC (permalink / raw)
  To: Alex Williamson, kvm; +Cc: Cornelia Huck, linux-kernel

There is no macro called _IORW, so use _IOWR in the comment instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 include/uapi/linux/vfio.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index fea86061b44e..733a1cddde30 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -643,7 +643,7 @@ enum {
 };
 
 /**
- * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12,
+ * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IOWR(VFIO_TYPE, VFIO_BASE + 12,
  *					      struct vfio_pci_hot_reset_info)
  *
  * Return: 0 on success, -errno on failure:
@@ -770,7 +770,7 @@ struct vfio_device_ioeventfd {
 #define VFIO_DEVICE_IOEVENTFD		_IO(VFIO_TYPE, VFIO_BASE + 16)
 
 /**
- * VFIO_DEVICE_FEATURE - _IORW(VFIO_TYPE, VFIO_BASE + 17,
+ * VFIO_DEVICE_FEATURE - _IOWR(VFIO_TYPE, VFIO_BASE + 17,
  *			       struct vfio_device_feature)
  *
  * Get, set, or probe feature data of the device.  The feature is selected
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead
  2022-05-16 10:12 [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead Thomas Huth
@ 2022-05-16 10:27 ` Cornelia Huck
  2022-05-18 17:51 ` Alex Williamson
  1 sibling, 0 replies; 3+ messages in thread
From: Cornelia Huck @ 2022-05-16 10:27 UTC (permalink / raw)
  To: Thomas Huth, Alex Williamson, kvm; +Cc: linux-kernel

On Mon, May 16 2022, Thomas Huth <thuth@redhat.com> wrote:

> There is no macro called _IORW, so use _IOWR in the comment instead.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  include/uapi/linux/vfio.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead
  2022-05-16 10:12 [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead Thomas Huth
  2022-05-16 10:27 ` Cornelia Huck
@ 2022-05-18 17:51 ` Alex Williamson
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2022-05-18 17:51 UTC (permalink / raw)
  To: Thomas Huth; +Cc: kvm, Cornelia Huck, linux-kernel

On Mon, 16 May 2022 12:12:02 +0200
Thomas Huth <thuth@redhat.com> wrote:

> There is no macro called _IORW, so use _IOWR in the comment instead.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  include/uapi/linux/vfio.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index fea86061b44e..733a1cddde30 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -643,7 +643,7 @@ enum {
>  };
>  
>  /**
> - * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12,
> + * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IOWR(VFIO_TYPE, VFIO_BASE + 12,
>   *					      struct vfio_pci_hot_reset_info)
>   *
>   * Return: 0 on success, -errno on failure:
> @@ -770,7 +770,7 @@ struct vfio_device_ioeventfd {
>  #define VFIO_DEVICE_IOEVENTFD		_IO(VFIO_TYPE, VFIO_BASE + 16)
>  
>  /**
> - * VFIO_DEVICE_FEATURE - _IORW(VFIO_TYPE, VFIO_BASE + 17,
> + * VFIO_DEVICE_FEATURE - _IOWR(VFIO_TYPE, VFIO_BASE + 17,
>   *			       struct vfio_device_feature)
>   *
>   * Get, set, or probe feature data of the device.  The feature is selected

Applied to vfio next branch for v5.19.  Thanks!

Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-18 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 10:12 [PATCH] include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead Thomas Huth
2022-05-16 10:27 ` Cornelia Huck
2022-05-18 17:51 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).