Jiang Jian
2022-Jun-21 13:48 UTC
[Nouveau] [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 <jiangjian at cdjrlc.com> --- 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
Lyude Paul
2022-Jun-21 20:02 UTC
[Nouveau] [PATCH] drm/nouveau/mmu: drop unexpected word "the" in the comments
Reviewed-by: Lyude Paul <lyude at redhat.com> 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 at cdjrlc.com> > --- > ?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