Reviewed-by: Rex Zhu <Rex.Zhu at amd.com> Best Regards Rex -----Original Message----- From: amd-gfx [mailto:amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Yintian Tao Sent: Thursday, January 04, 2018 5:05 PM To: amd-gfx at lists.freedesktop.org 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 Signed-off-by: Yintian Tao <yttao at amd.com> --- drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c index 7dc4cee..25dd778 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c @@ -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 amd-gfx at lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx