2022-06-23 10:38:58

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] drm/amdgpu: drop unexpected word 'for' in comments

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

file - drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
line - 245

* position and also advance the position for for Vega10

changed to:

* position and also advance the position for Vega10

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
index 3df146579ad9..1d5af50331e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
@@ -242,7 +242,7 @@ int amdgpu_ih_process(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih)
* @entry: IV entry
*
* Decodes the interrupt vector at the current rptr
- * position and also advance the position for for Vega10
+ * position and also advance the position for Vega10
* and later GPUs.
*/
void amdgpu_ih_decode_iv_helper(struct amdgpu_device *adev,
--
2.17.1


2022-06-23 18:58:48

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: drop unexpected word 'for' in comments

Applied. Thanks!

Alex

On Thu, Jun 23, 2022 at 6:15 AM Jiang Jian <[email protected]> wrote:
>
> there is an unexpected word 'for' in the comments that need to be dropped
>
> file - drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
> line - 245
>
> * position and also advance the position for for Vega10
>
> changed to:
>
> * position and also advance the position for Vega10
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
> index 3df146579ad9..1d5af50331e4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
> @@ -242,7 +242,7 @@ int amdgpu_ih_process(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih)
> * @entry: IV entry
> *
> * Decodes the interrupt vector at the current rptr
> - * position and also advance the position for for Vega10
> + * position and also advance the position for Vega10
> * and later GPUs.
> */
> void amdgpu_ih_decode_iv_helper(struct amdgpu_device *adev,
> --
> 2.17.1
>