Subject: [PATCH v2] drm: Correct a typo in a function comment

Replace "pionter" with "pointer" in the drm_gem_handle_create description.

Changes in v2:
- Change subject text

Signed-off-by: Igor Matheus Andrade Torrente <[email protected]>
---
drivers/gpu/drm/drm_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index 6e960d57371e..c356379f5e97 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -432,7 +432,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv,
* drm_gem_handle_create - create a gem handle for an object
* @file_priv: drm file-private structure to register the handle for
* @obj: object to register
- * @handlep: pionter to return the created handle to the caller
+ * @handlep: pointer to return the created handle to the caller
*
* Create a handle for this object. This adds a handle reference to the object,
* which includes a regular reference count. Callers will likely want to
--
2.20.1


2020-03-18 13:52:35

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH v2] drm: Correct a typo in a function comment

On Tue, Mar 17, 2020 at 06:03:39PM -0300, Igor Matheus Andrade Torrente wrote:
> Replace "pionter" with "pointer" in the drm_gem_handle_create description.
>
> Changes in v2:
> - Change subject text
>
> Signed-off-by: Igor Matheus Andrade Torrente <[email protected]>

Thanks for your patch, queued for 5.8 in drm-misc-next.
-Daniel

> ---
> drivers/gpu/drm/drm_gem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
> index 6e960d57371e..c356379f5e97 100644
> --- a/drivers/gpu/drm/drm_gem.c
> +++ b/drivers/gpu/drm/drm_gem.c
> @@ -432,7 +432,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv,
> * drm_gem_handle_create - create a gem handle for an object
> * @file_priv: drm file-private structure to register the handle for
> * @obj: object to register
> - * @handlep: pionter to return the created handle to the caller
> + * @handlep: pointer to return the created handle to the caller
> *
> * Create a handle for this object. This adds a handle reference to the object,
> * which includes a regular reference count. Callers will likely want to
> --
> 2.20.1
>

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch