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

2022-09-09 Thread wangjianli
Delete the redundant word 'to'.

Signed-off-by: wangjianli 
---
 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



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

2022-09-08 Thread Felix Kuehling

On 2022-09-08 09:17, wangjianli wrote:

Delete the redundant word 'to'.

Signed-off-by: wangjianli 


Reviewed-by: Felix Kuehling 

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);