summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2026-01-14 10:36:52 +0800
committerPeter Zijlstra <peterz@infradead.org>2026-01-15 10:04:28 +0100
commit10d6d2416db2137a5a0ef9162662e5b7fee56dd4 (patch)
treebc554f4b0f46301c4b5fe61d6d8fc04dd3abf261
parent59af95e028d4114991b9bd96a39ad855b399cc07 (diff)
downloadlinux-10d6d2416db2137a5a0ef9162662e5b7fee56dd4.tar.gz
linux-10d6d2416db2137a5a0ef9162662e5b7fee56dd4.zip
perf/x86/intel/uncore: Convert comma to semicolon
Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Fixes: e7d5f2ea0923 ("perf/x86/intel/uncore: Add Nova Lake support") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://patch.msgid.link/20260114023652.3926117-1-nichen@iscas.ac.cn
-rw-r--r--arch/x86/events/intel/uncore_snb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/events/intel/uncore_snb.c b/arch/x86/events/intel/uncore_snb.c
index e8e44741200e..3dbc6bacbd9d 100644
--- a/arch/x86/events/intel/uncore_snb.c
+++ b/arch/x86/events/intel/uncore_snb.c
@@ -2005,11 +2005,11 @@ static struct intel_uncore_type *nvl_msr_uncores[] = {
void nvl_uncore_cpu_init(void)
{
mtl_uncore_cbox.num_boxes = 12;
- mtl_uncore_cbox.perf_ctr = NVL_UNC_CBOX_PER_CTR0,
- mtl_uncore_cbox.event_ctl = NVL_UNC_CBOX_PERFEVTSEL0,
+ mtl_uncore_cbox.perf_ctr = NVL_UNC_CBOX_PER_CTR0;
+ mtl_uncore_cbox.event_ctl = NVL_UNC_CBOX_PERFEVTSEL0;
- ptl_uncore_santa.perf_ctr = NVL_UNC_SANTA_CTR0,
- ptl_uncore_santa.event_ctl = NVL_UNC_SANTA_CTRL0,
+ ptl_uncore_santa.perf_ctr = NVL_UNC_SANTA_CTR0;
+ ptl_uncore_santa.event_ctl = NVL_UNC_SANTA_CTRL0;
mtl_uncore_cncu.box_ctl = NVL_UNC_CNCU_BOX_CTL;
mtl_uncore_cncu.fixed_ctr = NVL_UNC_CNCU_FIXED_CTR;