]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/pm: Fix unneeded semicolon warning
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 19 Jan 2026 04:41:09 +0000 (10:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:28:12 +0000 (17:28 -0500)
Fix the warning reported.
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c:909:3-4: Unneeded semicolon

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601182157.r1AfndME-lkp@intel.com/
Fixes: b480f573a8ab ("drm/amd/pm: Use gpu metrics 1.9 for SMUv13.0.12")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c

index 44d5f134a87a1694171e38346c6048f7bb7dcddc..9a34e5460b35a628979015e0200fc784b6081205 100644 (file)
@@ -956,7 +956,7 @@ void smu_v13_0_12_get_gpu_metrics(struct smu_context *smu, void **table,
                        gpu_metrics->gfx_below_host_limit_total_acc
                                [i] = SMUQ10_ROUND(
                                metrics->GfxclkBelowHostLimitTotalAcc[inst]);
-               };
+               }
        }
 
        gpu_metrics->xgmi_link_width = metrics->XgmiWidth;