Skip to contentSkip to conversation

drivers: gpu: drm: vmwgfx: fixed typos

PATCH Superseded Ghanshyam Agrawal 2 participants 3 messages Dec 15, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: gpu: drm: vmwgfx: fixed typos

Fixed some typos in vmwgfx_execbuf.c

---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +2 -2
index 36987ef3fc30..272141b6164c 100644
@@ -621,10 +621,10 @@ static int vmw_resources_reserve(struct vmw_sw_context *sw_context)
  * @sw_context: Pointer to the software context.
  * @res_type: Resource type.
  * @dirty: Whether to change dirty status.
- * @converter: User-space visisble type specific information.
+ * @converter: User-space visible type specific information.
  * @id_loc: Pointer to the location in the command buffer currently being parsed
  * from where the user-space resource id handle is located.
- * @p_res: Pointer to pointer to resource validalidation node. Populated on
+ * @p_res: Pointer to pointer to resource validation node. Populated on
  * exit.
  */
 static int
Signature · 1 line
2.25.1
#1 lore raw
Quoted 12 lines · Ghanshyam Agrawal

Fixed some typos in vmwgfx_execbuf.c

---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -0
index 36987ef3fc30..272141b6164c 100644

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 624

Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
@@ -621,10 +621,10 @@ static int vmw_resources_reserve(struct vmw_sw_context *sw_context)
  * @sw_context: Pointer to the software context.
  * @res_type: Resource type.
  * @dirty: Whether to change dirty status.
- * @converter: User-space visisble type specific information.
+ * @converter: User-space visible type specific information.

ack.

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 628

Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
  * @id_loc: Pointer to the location in the command buffer currently being parsed
  * from where the user-space resource id handle is located.
- * @p_res: Pointer to pointer to resource validalidation node. Populated on
+ * @p_res: Pointer to pointer to resource validation node. Populated on
  * exit.

ack.

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 630

Quoted 2 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -0
  */
 static int

Please also fix this one:
vmwgfx_execbuf.c:1072: asynchronus ==> asynchronous

I suggest that you try codespell.

Thanks.

Signature · 3 lines
#Randy
https://people.kernel.org/tglx/notes-about-netiquette
https://subspace.kernel.org/etiquette.html
#2 lore raw
Quoted 38 lines · Randy Dunlap
Quoted 12 lines · Ghanshyam Agrawal

Fixed some typos in vmwgfx_execbuf.c

---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -0
index 36987ef3fc30..272141b6164c 100644

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 624

Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
@@ -621,10 +621,10 @@ static int vmw_resources_reserve(struct vmw_sw_context *sw_context)
  * @sw_context: Pointer to the software context.
  * @res_type: Resource type.
  * @dirty: Whether to change dirty status.
- * @converter: User-space visisble type specific information.
+ * @converter: User-space visible type specific information.

ack.

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 628

Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
  * @id_loc: Pointer to the location in the command buffer currently being parsed
  * from where the user-space resource id handle is located.
- * @p_res: Pointer to pointer to resource validalidation node. Populated on
+ * @p_res: Pointer to pointer to resource validation node. Populated on
  * exit.

ack.

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_resources_reserve(struct vmw_sw_context *sw_context) · line 630

Quoted 2 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -0
  */
 static int

Please also fix this one:
vmwgfx_execbuf.c:1072: asynchronus ==> asynchronous

Quoted 7 lines

I suggest that you try codespell.

Thanks.
--
#Randy
https://people.kernel.org/tglx/notes-about-netiquette
https://subspace.kernel.org/etiquette.html

Hi Randy,

Thanks for your acknowledgements and feedback. Codespell did suggest one more change but I am not sure if it should be applied. Let me ask someone. I will make changes and resend the second patch.

Thanks & Regards,
Ghanshyam Agrawal