2020-09-10 21:53:52

by Zenghui Yu

[permalink] [raw]
Subject: [PATCH] vfio: Fix typo of the device_state

A typo fix ("_RUNNNG" => "_RUNNING") in comment block of the uapi header.

Signed-off-by: Zenghui Yu <[email protected]>
---
include/uapi/linux/vfio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index 920470502329..d4bd39e124bf 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -462,7 +462,7 @@ struct vfio_region_gfx_edid {
* 5. Resumed
* |--------->|
*
- * 0. Default state of VFIO device is _RUNNNG when the user application starts.
+ * 0. Default state of VFIO device is _RUNNING when the user application starts.
* 1. During normal shutdown of the user application, the user application may
* optionally change the VFIO device state from _RUNNING to _STOP. This
* transition is optional. The vendor driver must support this transition but
--
2.19.1


2020-09-11 09:57:34

by Cornelia Huck

[permalink] [raw]
Subject: Re: [PATCH] vfio: Fix typo of the device_state

On Thu, 10 Sep 2020 20:25:08 +0800
Zenghui Yu <[email protected]> wrote:

> A typo fix ("_RUNNNG" => "_RUNNING") in comment block of the uapi header.
>
> Signed-off-by: Zenghui Yu <[email protected]>
> ---
> include/uapi/linux/vfio.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index 920470502329..d4bd39e124bf 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -462,7 +462,7 @@ struct vfio_region_gfx_edid {
> * 5. Resumed
> * |--------->|
> *
> - * 0. Default state of VFIO device is _RUNNNG when the user application starts.
> + * 0. Default state of VFIO device is _RUNNING when the user application starts.
> * 1. During normal shutdown of the user application, the user application may
> * optionally change the VFIO device state from _RUNNING to _STOP. This
> * transition is optional. The vendor driver must support this transition but

Reviewed-by: Cornelia Huck <[email protected]>

2020-09-11 17:07:34

by Kirti Wankhede

[permalink] [raw]
Subject: Re: [PATCH] vfio: Fix typo of the device_state

Ops. Thanks for fixing it.

Reviewed-by: Kirti Wankhede <[email protected]>

On 9/10/2020 5:55 PM, Zenghui Yu wrote:
> A typo fix ("_RUNNNG" => "_RUNNING") in comment block of the uapi header.
>
> Signed-off-by: Zenghui Yu <[email protected]>
> ---
> include/uapi/linux/vfio.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index 920470502329..d4bd39e124bf 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -462,7 +462,7 @@ struct vfio_region_gfx_edid {
> * 5. Resumed
> * |--------->|
> *
> - * 0. Default state of VFIO device is _RUNNNG when the user application starts.
> + * 0. Default state of VFIO device is _RUNNING when the user application starts.
> * 1. During normal shutdown of the user application, the user application may
> * optionally change the VFIO device state from _RUNNING to _STOP. This
> * transition is optional. The vendor driver must support this transition but
>