2022-06-21 13:17:41

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] drm/amdgpu: vm - 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/amd/amdgpu/amdgpu_vm.c
line: 57
* the kernel tells the the ring what VMID to use for that command
changed to
* the kernel tells the ring what VMID to use for that command

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index dc76d2b3ce52..8530befb2051 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -54,7 +54,7 @@
* (uncached system pages).
* Each VM has an ID associated with it and there is a page table
* associated with each VMID. When executing a command buffer,
- * the kernel tells the the ring what VMID to use for that command
+ * the kernel tells the ring what VMID to use for that command
* buffer. VMIDs are allocated dynamically as commands are submitted.
* The userspace drivers maintain their own address space and the kernel
* sets up their pages tables accordingly when they submit their
--
2.17.1


2022-06-21 15:10:35

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: vm - drop unexpected word "the" in the comments

Applied. Thanks!

On Tue, Jun 21, 2022 at 9:17 AM Jiang Jian <[email protected]> wrote:
>
> there is an unexpected word "the" in the comments that need to be dropped
>
> file: drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> line: 57
> * the kernel tells the the ring what VMID to use for that command
> changed to
> * the kernel tells the ring what VMID to use for that command
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index dc76d2b3ce52..8530befb2051 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -54,7 +54,7 @@
> * (uncached system pages).
> * Each VM has an ID associated with it and there is a page table
> * associated with each VMID. When executing a command buffer,
> - * the kernel tells the the ring what VMID to use for that command
> + * the kernel tells the ring what VMID to use for that command
> * buffer. VMIDs are allocated dynamically as commands are submitted.
> * The userspace drivers maintain their own address space and the kernel
> * sets up their pages tables accordingly when they submit their
> --
> 2.17.1
>