2024-04-24 09:08:18

by Xinghui Li

[permalink] [raw]
Subject: [PATCH] drm/qxl: fix comment typo

There is one typo in drivers/gpu/drm/qxl/qxl_gem.c's comment, which
'acess' should be 'access'. So fix it.

Signed-off-by: Xinghui Li <[email protected]>
---
drivers/gpu/drm/qxl/qxl_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/qxl/qxl_gem.c b/drivers/gpu/drm/qxl/qxl_gem.c
index fc5e3763c359..2cfe29d72d81 100644
--- a/drivers/gpu/drm/qxl/qxl_gem.c
+++ b/drivers/gpu/drm/qxl/qxl_gem.c
@@ -74,7 +74,7 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size,

/*
* If the caller passed a valid gobj pointer, it is responsible to call
- * drm_gem_object_put() when it no longer needs to acess the object.
+ * drm_gem_object_put() when it no longer needs to access the object.
*
* If gobj is NULL, it is handled internally.
*/
--
2.39.3



2024-04-24 13:03:44

by Wander Lairson Costa

[permalink] [raw]
Subject: Re: [PATCH] drm/qxl: fix comment typo

On Wed, Apr 24, 2024 at 6:06 AM Xinghui Li <[email protected]> wrote:
>
> There is one typo in drivers/gpu/drm/qxl/qxl_gem.c's comment, which
> 'acess' should be 'access'. So fix it.
>
> Signed-off-by: Xinghui Li <[email protected]>
> ---
> drivers/gpu/drm/qxl/qxl_gem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/qxl/qxl_gem.c b/drivers/gpu/drm/qxl/qxl_gem.c
> index fc5e3763c359..2cfe29d72d81 100644
> --- a/drivers/gpu/drm/qxl/qxl_gem.c
> +++ b/drivers/gpu/drm/qxl/qxl_gem.c
> @@ -74,7 +74,7 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size,
>
> /*
> * If the caller passed a valid gobj pointer, it is responsible to call
> - * drm_gem_object_put() when it no longer needs to acess the object.
> + * drm_gem_object_put() when it no longer needs to access the object.
> *
> * If gobj is NULL, it is handled internally.
> */
> --
> 2.39.3
>

Reviewed-by: Wander Lairson Costa <[email protected]>