mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] treewide: Correct the typo 'acccess'
@ 2024-09-19 18:28 WangYuli
  2024-09-19 18:58 ` Thomas Zimmermann
  2024-09-19 19:01 ` Christian König
  0 siblings, 2 replies; 5+ messages in thread
From: WangYuli @ 2024-09-19 18:28 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, Xinhui.Pan, airlied, simona,
	sunil.khatri, vitaly.prosyak, yifan1.zhang, Tim.Huang,
	jesse.zhang, Prike.Liang, Hawking.Zhang, kevinyang.wang,
	srinivasan.shanmugam, Jiadong.Zhu, tao.zhou1, pavel, lee, aren,
	wangyuli
  Cc: amd-gfx, dri-devel, linux-kernel, linux-leds, le.ma,
	Wenhui.Sheng, jjhiblot, guanwentao, zhanjun

There are some spelling mistakes of 'acccess' in comments which
should be instead of 'access'.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c   | 2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c  | 2 +-
 drivers/leds/rgb/leds-group-multicolor.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index d3e8be82a172..f847a9fc61e1 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -1894,7 +1894,7 @@ static void gfx_v11_0_init_compute_vmid(struct amdgpu_device *adev)
 	mutex_unlock(&adev->srbm_mutex);
 
 	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
-	   acccess. These should be enabled by FW for target VMIDs. */
+	   access. These should be enabled by FW for target VMIDs. */
 	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
 		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_BASE, 2 * i, 0);
 		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_SIZE, 2 * i, 0);
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
index 408e5600bb61..13dca7377f53 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
@@ -1248,7 +1248,7 @@ static void gfx_v9_4_3_xcc_init_compute_vmid(struct amdgpu_device *adev,
 	mutex_unlock(&adev->srbm_mutex);
 
 	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
-	   acccess. These should be enabled by FW for target VMIDs. */
+	   access. These should be enabled by FW for target VMIDs. */
 	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
 		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_BASE, 2 * i, 0);
 		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_SIZE, 2 * i, 0);
diff --git a/drivers/leds/rgb/leds-group-multicolor.c b/drivers/leds/rgb/leds-group-multicolor.c
index b6c7679015fd..548c7dd63ba1 100644
--- a/drivers/leds/rgb/leds-group-multicolor.c
+++ b/drivers/leds/rgb/leds-group-multicolor.c
@@ -55,7 +55,7 @@ static void restore_sysfs_write_access(void *data)
 {
 	struct led_classdev *led_cdev = data;
 
-	/* Restore the write acccess to the LED */
+	/* Restore the write access to the LED */
 	mutex_lock(&led_cdev->led_access);
 	led_sysfs_enable(led_cdev);
 	mutex_unlock(&led_cdev->led_access);
-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] treewide: Correct the typo 'acccess'
  2024-09-19 18:28 [PATCH] treewide: Correct the typo 'acccess' WangYuli
@ 2024-09-19 18:58 ` Thomas Zimmermann
  2024-09-20  3:21   ` WangYuli
  2024-09-19 19:01 ` Christian König
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Zimmermann @ 2024-09-19 18:58 UTC (permalink / raw)
  To: WangYuli, alexander.deucher, christian.koenig, Xinhui.Pan,
	airlied, simona, sunil.khatri, vitaly.prosyak, yifan1.zhang,
	Tim.Huang, jesse.zhang, Prike.Liang, Hawking.Zhang,
	kevinyang.wang, srinivasan.shanmugam, Jiadong.Zhu, tao.zhou1,
	pavel, lee, aren
  Cc: amd-gfx, dri-devel, linux-kernel, linux-leds, le.ma,
	Wenhui.Sheng, jjhiblot, guanwentao, zhanjun

Hi

Am 19.09.24 um 20:28 schrieb WangYuli:
> There are some spelling mistakes of 'acccess' in comments which
> should be instead of 'access'.
>
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c   | 2 +-
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c  | 2 +-
>   drivers/leds/rgb/leds-group-multicolor.c | 2 +-

I think it's better to make 2 patches: one for amdgpu and one for leds. 
Each patch can then go into the correct tree.

If you make 2 patches, you can add

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>

to each of them.

Best regards
Thomas

>   3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> index d3e8be82a172..f847a9fc61e1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -1894,7 +1894,7 @@ static void gfx_v11_0_init_compute_vmid(struct amdgpu_device *adev)
>   	mutex_unlock(&adev->srbm_mutex);
>   
>   	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
> -	   acccess. These should be enabled by FW for target VMIDs. */
> +	   access. These should be enabled by FW for target VMIDs. */
>   	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
>   		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_BASE, 2 * i, 0);
>   		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_SIZE, 2 * i, 0);
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> index 408e5600bb61..13dca7377f53 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> @@ -1248,7 +1248,7 @@ static void gfx_v9_4_3_xcc_init_compute_vmid(struct amdgpu_device *adev,
>   	mutex_unlock(&adev->srbm_mutex);
>   
>   	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
> -	   acccess. These should be enabled by FW for target VMIDs. */
> +	   access. These should be enabled by FW for target VMIDs. */
>   	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
>   		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_BASE, 2 * i, 0);
>   		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_SIZE, 2 * i, 0);
> diff --git a/drivers/leds/rgb/leds-group-multicolor.c b/drivers/leds/rgb/leds-group-multicolor.c
> index b6c7679015fd..548c7dd63ba1 100644
> --- a/drivers/leds/rgb/leds-group-multicolor.c
> +++ b/drivers/leds/rgb/leds-group-multicolor.c
> @@ -55,7 +55,7 @@ static void restore_sysfs_write_access(void *data)
>   {
>   	struct led_classdev *led_cdev = data;
>   
> -	/* Restore the write acccess to the LED */
> +	/* Restore the write access to the LED */
>   	mutex_lock(&led_cdev->led_access);
>   	led_sysfs_enable(led_cdev);
>   	mutex_unlock(&led_cdev->led_access);

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] treewide: Correct the typo 'acccess'
  2024-09-19 18:28 [PATCH] treewide: Correct the typo 'acccess' WangYuli
  2024-09-19 18:58 ` Thomas Zimmermann
@ 2024-09-19 19:01 ` Christian König
  2024-09-20  2:31   ` WangYuli
  1 sibling, 1 reply; 5+ messages in thread
From: Christian König @ 2024-09-19 19:01 UTC (permalink / raw)
  To: WangYuli, alexander.deucher, Xinhui.Pan, airlied, simona,
	sunil.khatri, vitaly.prosyak, yifan1.zhang, Tim.Huang,
	jesse.zhang, Prike.Liang, Hawking.Zhang, kevinyang.wang,
	srinivasan.shanmugam, Jiadong.Zhu, tao.zhou1, pavel, lee, aren
  Cc: amd-gfx, dri-devel, linux-kernel, linux-leds, le.ma,
	Wenhui.Sheng, jjhiblot, guanwentao, zhanjun



Am 19.09.24 um 20:28 schrieb WangYuli:
> There are some spelling mistakes of 'acccess' in comments which
> should be instead of 'access'.
>
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c   | 2 +-
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c  | 2 +-
>   drivers/leds/rgb/leds-group-multicolor.c | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> index d3e8be82a172..f847a9fc61e1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -1894,7 +1894,7 @@ static void gfx_v11_0_init_compute_vmid(struct amdgpu_device *adev)
>   	mutex_unlock(&adev->srbm_mutex);
>   
>   	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
> -	   acccess. These should be enabled by FW for target VMIDs. */
> +	   access. These should be enabled by FW for target VMIDs. */

While at it could you fix the comment style here? E.g. use

/*
  * Text
  * Text
  */

Thanks,
Christian.

>   	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
>   		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_BASE, 2 * i, 0);
>   		WREG32_SOC15_OFFSET(GC, 0, regGDS_VMID0_SIZE, 2 * i, 0);
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> index 408e5600bb61..13dca7377f53 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> @@ -1248,7 +1248,7 @@ static void gfx_v9_4_3_xcc_init_compute_vmid(struct amdgpu_device *adev,
>   	mutex_unlock(&adev->srbm_mutex);
>   
>   	/* Initialize all compute VMIDs to have no GDS, GWS, or OA
> -	   acccess. These should be enabled by FW for target VMIDs. */
> +	   access. These should be enabled by FW for target VMIDs. */
>   	for (i = adev->vm_manager.first_kfd_vmid; i < AMDGPU_NUM_VMID; i++) {
>   		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_BASE, 2 * i, 0);
>   		WREG32_SOC15_OFFSET(GC, GET_INST(GC, xcc_id), regGDS_VMID0_SIZE, 2 * i, 0);
> diff --git a/drivers/leds/rgb/leds-group-multicolor.c b/drivers/leds/rgb/leds-group-multicolor.c
> index b6c7679015fd..548c7dd63ba1 100644
> --- a/drivers/leds/rgb/leds-group-multicolor.c
> +++ b/drivers/leds/rgb/leds-group-multicolor.c
> @@ -55,7 +55,7 @@ static void restore_sysfs_write_access(void *data)
>   {
>   	struct led_classdev *led_cdev = data;
>   
> -	/* Restore the write acccess to the LED */
> +	/* Restore the write access to the LED */
>   	mutex_lock(&led_cdev->led_access);
>   	led_sysfs_enable(led_cdev);
>   	mutex_unlock(&led_cdev->led_access);


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] treewide: Correct the typo 'acccess'
  2024-09-19 19:01 ` Christian König
@ 2024-09-20  2:31   ` WangYuli
  0 siblings, 0 replies; 5+ messages in thread
From: WangYuli @ 2024-09-20  2:31 UTC (permalink / raw)
  To: Christian König, alexander.deucher, Xinhui.Pan, airlied,
	simona, sunil.khatri, vitaly.prosyak, yifan1.zhang, Tim.Huang,
	jesse.zhang, Prike.Liang, Hawking.Zhang, kevinyang.wang,
	srinivasan.shanmugam, Jiadong.Zhu, tao.zhou1, pavel, lee, aren
  Cc: amd-gfx, dri-devel, linux-kernel, linux-leds, le.ma,
	Wenhui.Sheng, jjhiblot, guanwentao, zhanjun


[-- Attachment #1.1.1: Type: text/plain, Size: 1429 bytes --]

在 2024/9/20 03:01, Christian König wrote:

>
>
> Am 19.09.24 um 20:28 schrieb WangYuli:
>> There are some spelling mistakes of 'acccess' in comments which
>> should be instead of 'access'.
>>
>> Signed-off-by: WangYuli <wangyuli@uniontech.com>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c   | 2 +-
>>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c  | 2 +-
>>   drivers/leds/rgb/leds-group-multicolor.c | 2 +-
>>   3 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c 
>> b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
>> index d3e8be82a172..f847a9fc61e1 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
>> @@ -1894,7 +1894,7 @@ static void gfx_v11_0_init_compute_vmid(struct 
>> amdgpu_device *adev)
>>       mutex_unlock(&adev->srbm_mutex);
>>         /* Initialize all compute VMIDs to have no GDS, GWS, or OA
>> -       acccess. These should be enabled by FW for target VMIDs. */
>> +       access. These should be enabled by FW for target VMIDs. */
>
> While at it could you fix the comment style here? E.g. use
>
> /*
>  * Text
>  * Text
>  */
>
OK.

Link: 
https://lore.kernel.org/all/F25A139789E87C3E+20240920022755.1162495-1-wangyuli@uniontech.com/

With Thomas Zimmermann's Acked-by.

> Thanks,
> Christian.
>
>
Thanks,
-- 
WangYuli

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 645 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] treewide: Correct the typo 'acccess'
  2024-09-19 18:58 ` Thomas Zimmermann
@ 2024-09-20  3:21   ` WangYuli
  0 siblings, 0 replies; 5+ messages in thread
From: WangYuli @ 2024-09-20  3:21 UTC (permalink / raw)
  To: Thomas Zimmermann, alexander.deucher, christian.koenig,
	Xinhui.Pan, airlied, simona, sunil.khatri, vitaly.prosyak,
	yifan1.zhang, Tim.Huang, jesse.zhang, Prike.Liang, Hawking.Zhang,
	kevinyang.wang, srinivasan.shanmugam, Jiadong.Zhu, tao.zhou1,
	pavel, lee, aren
  Cc: amd-gfx, dri-devel, linux-kernel, linux-leds, le.ma,
	Wenhui.Sheng, jjhiblot, guanwentao, zhanjun


[-- Attachment #1.1.1: Type: text/plain, Size: 1176 bytes --]

On 2024/9/20 02:58, Thomas Zimmermann wrote:

> Hi
>
> Am 19.09.24 um 20:28 schrieb WangYuli:
>> There are some spelling mistakes of 'acccess' in comments which
>> should be instead of 'access'.
>>
>> Signed-off-by: WangYuli <wangyuli@uniontech.com>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c   | 2 +-
>>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c  | 2 +-
>>   drivers/leds/rgb/leds-group-multicolor.c | 2 +-
>
> I think it's better to make 2 patches: one for amdgpu and one for 
> leds. Each patch can then go into the correct tree.
>
> If you make 2 patches, you can add
>
> Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
>
> to each of them.
>
Done.

Link: 
https://lore.kernel.org/all/F25A139789E87C3E+20240920022755.1162495-1-wangyuli@uniontech.com/

Link: 
https://lore.kernel.org/all/B586A1E6EA476B68+20240920024514.1182292-1-wangyuli@uniontech.com/

And there is one more "acccess" typo fix:

Link: 
https://lore.kernel.org/all/781C12799421D366+20240920031620.1211752-1-wangyuli@uniontech.com/

After that, there is no more "acccess" typo in kernel source.

> Best regards
> Thomas
>
>
Cheers,
-- 
WangYuli

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 645 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-20  3:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19 18:28 [PATCH] treewide: Correct the typo 'acccess' WangYuli
2024-09-19 18:58 ` Thomas Zimmermann
2024-09-20  3:21   ` WangYuli
2024-09-19 19:01 ` Christian König
2024-09-20  2:31   ` WangYuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®