答复: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static

Feng, Kenneth Kenneth.Feng at amd.com
Sat May 7 01:36:26 UTC 2022


[AMD Official Use Only - General]

Reviewed-by: Kenneth Feng <kenneth.feng at amd.com<mailto:kenneth.feng at amd.com>>

Best wishes
Kenneth Feng


发件人: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> 代表 Alex Deucher <alexander.deucher at amd.com>
日期: 星期五, 2022年5月6日 22:33
收件人: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
抄送: Deucher, Alexander <Alexander.Deucher at amd.com>, kernel test robot <lkp at intel.com>
主题: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
[CAUTION: External Email]

It's not used outside of the this file.

Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index cf5800822174..9949ee3ae090 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -291,7 +291,7 @@ static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu)
        return 0;
 }

-int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
+static int smu_v13_0_7_check_fw_status(struct smu_context *smu) {
        struct amdgpu_device *adev = smu->adev;
        uint32_t mp1_fw_flags;

--
2.35.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220507/f0ee414a/attachment.htm>


More information about the amd-gfx mailing list