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

From: Lyude Paul
Date: Tue Jun 21 2022 - 16:02:52 EST


Reviewed-by: Lyude Paul <lyude@xxxxxxxxxx>

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 <jiangjian@xxxxxxxxxx>
> ---
>  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