2022-06-21 13:42:33

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] drm/nouveau/mmu: drop unexpected word "the" in the comments

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
line: 1051
* have the the deepest nesting of page tables.
changed to
* have the deepest nesting of page tables.

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
index ca74775834dd..ae793f400ba1 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
@@ -1048,7 +1048,7 @@ nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu,
__mutex_init(&vmm->mutex, "&vmm->mutex", key ? key : &_key);

/* Locate the smallest page size supported by the backend, it will
- * have the the deepest nesting of page tables.
+ * have the deepest nesting of page tables.
*/
while (page[1].shift)
page++;
--
2.17.1


2022-06-21 20:26:21

by Lyude Paul

[permalink] [raw]
Subject: Re: [PATCH] drm/nouveau/mmu: drop unexpected word "the" in the comments

Reviewed-by: Lyude Paul <[email protected]>

Will push to the appropriate branch in a moment

On Tue, 2022-06-21 at 21:39 +0800, Jiang Jian wrote:
> there is an unexpected word "the" in the comments that need to be dropped
>
> file: drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
> line: 1051
>  * have the the deepest nesting of page tables.
> changed to
>  * have the deepest nesting of page tables.
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
>  drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
> b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
> index ca74775834dd..ae793f400ba1 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
> @@ -1048,7 +1048,7 @@ nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct
> nvkm_mmu *mmu,
>         __mutex_init(&vmm->mutex, "&vmm->mutex", key ? key : &_key);
>  
>         /* Locate the smallest page size supported by the backend, it will
> -        * have the the deepest nesting of page tables.
> +        * have the deepest nesting of page tables.
>          */
>         while (page[1].shift)
>                 page++;

--
Cheers,
Lyude Paul (she/her)
Software Engineer at Red Hat