2022-09-08 13:46:52

by wangjianli

[permalink] [raw]
Subject: [PATCH] amd/amdkfd: fix repeated words in comments

Delete the redundant word 'to'.

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

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
index 24b414cff3ec..cd5f8b219bf9 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
@@ -2284,7 +2284,7 @@ static int kfd_create_vcrat_image_gpu(void *pcrat_image,

/* Fill in Subtype: IO_LINKS
* Only direct links are added here which is Link from GPU to
- * to its NUMA node. Indirect links are added by userspace.
+ * its NUMA node. Indirect links are added by userspace.
*/
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
cache_mem_filled);
--
2.36.1


2022-09-08 19:36:16

by Felix Kuehling

[permalink] [raw]
Subject: Re: [PATCH] amd/amdkfd: fix repeated words in comments

On 2022-09-08 09:17, wangjianli wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: wangjianli <[email protected]>

Reviewed-by: Felix Kuehling <[email protected]>

I'll apply this to amd-staging-drm-next.

Thanks,
  Felix


> ---
> drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
> index 24b414cff3ec..cd5f8b219bf9 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
> @@ -2284,7 +2284,7 @@ static int kfd_create_vcrat_image_gpu(void *pcrat_image,
>
> /* Fill in Subtype: IO_LINKS
> * Only direct links are added here which is Link from GPU to
> - * to its NUMA node. Indirect links are added by userspace.
> + * its NUMA node. Indirect links are added by userspace.
> */
> sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
> cache_mem_filled);