Skip to contentSkip to conversation

vfio: Fix typo of the device_state

PATCH In review Zenghui Yu 3 participants 3 messages Sep 10, 2020 – Sep 11, 2020

Subsystems (2)
lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 vfio: Fix typo of the device_state

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

---
 include/uapi/linux/vfio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/vfio.h +1 -1
index 920470502329..d4bd39e124bf 100644
@@ -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
Signature · 1 line
2.19.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · 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.

---
 include/uapi/linux/vfio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/vfio.h +0 -0
index 920470502329..d4bd39e124bf 100644

include/uapi/linux/vfio.h struct vfio_region_gfx_edid { · line 468

Quoted 8 lines
include/uapi/linux/vfio.h +1 -1
@@ -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 on v1 1/1
#2 lore raw
In reply to Zenghui Yu

Ops. Thanks for fixing it.

Quoted 21 lines · Zenghui Yu

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

---
  include/uapi/linux/vfio.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/vfio.h +1 -1
index 920470502329..d4bd39e124bf 100644
@@ -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