Skip to contentSkip to conversation

drm/amd/powerplay: fix typo error for '3be7be08ac'

PATCH In review Yintian Tao 4 participants 4 messages Jan 4, 2018 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.

Change-Id Iabe7158e08e6aef155ca3394cafc6eb4256a0030
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +1 -1
index 7dc4cee..25dd778 100644
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
 int smu7_smu_fini(struct pp_hwmgr *hwmgr)
 {
-	struct smu7_smumgr smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
+	struct smu7_smumgr *smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
 
 	smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
 	if (!cgs_is_virtualization_enabled(hwmgr->device))
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1515056711-14804-1-git-send-email-yttao-5C7GfCeVMHo@public.gmane.org

Reviewed-by Rex Zhu
#2 lore raw

Best Regards
Rex
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Yintian Tao
Sent: Thursday, January 04, 2018 5:05 PM
To: [email protected]
Cc: Zhou, David(ChunMing); Tao, Yintian
Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.

Change-Id Iabe7158e08e6aef155ca3394cafc6eb4256a0030
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +2 -2
index 7dc4cee..25dd778 100644
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
 int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {
-	struct smu7_smumgr smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
+	struct smu7_smumgr *smu_data = (struct smu7_smumgr 
+*)(hwmgr->smu_backend);
 
 	smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
 	if (!cgs_is_virtualization_enabled(hwmgr->device))
--

2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): CY4PR12MB1687C80A302DBA0D270EC697FB1F0-rpdhrqHFk06Y0SjTqZDccQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

Reviewed-by
#4 lore raw

Please commit ASAP since this is breaking builds,
Christian.

Am 04.01.2018 um 10:11 schrieb Zhu, Rex:

Quoted 34 lines

Best Regards
Rex
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Yintian Tao
Sent: Thursday, January 04, 2018 5:05 PM
To: [email protected]
Cc: Zhou, David(ChunMing); Tao, Yintian
Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.

Change-Id Iabe7158e08e6aef155ca3394cafc6eb4256a0030
---
  drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +2 -2
index 7dc4cee..25dd778 100644
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
  int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {
-	struct smu7_smumgr smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
+	struct smu7_smumgr *smu_data = (struct smu7_smumgr
+*)(hwmgr->smu_backend);
 
  	smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
  	if (!cgs_is_virtualization_enabled(hwmgr->device))
--

2.7.4

Quoted 8 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 070d25f8-161d-afdc-34ad-f135a3c85602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Reviewed-by Christian König
#6 lore raw

Hi Christian

Thanks for your review. I have submit it.

Best Regards
Yintian Tao

-----Original Message-----
From: Christian König [mailto:[email protected]]
Sent: Thursday, January 04, 2018 5:35 PM
To: Zhu, Rex <[email protected]>; Tao, Yintian <[email protected]>; [email protected]
Cc: Zhou, David(ChunMing) <[email protected]>
Subject: Re: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Please commit ASAP since this is breaking builds, Christian.

Am 04.01.2018 um 10:11 schrieb Zhu, Rex:

Quoted 36 lines

Best Regards
Rex
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Yintian Tao
Sent: Thursday, January 04, 2018 5:05 PM
To: [email protected]
Cc: Zhou, David(ChunMing); Tao, Yintian
Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.

Change-Id Iabe7158e08e6aef155ca3394cafc6eb4256a0030
---
  drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +2 -2
index 7dc4cee..25dd778 100644
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
  int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {
-	struct smu7_smumgr smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend);
+	struct smu7_smumgr *smu_data = (struct smu7_smumgr 
+*)(hwmgr->smu_backend);
 
  	smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
  	if (!cgs_is_virtualization_enabled(hwmgr->device))
--

2.7.4

Quoted 8 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx