Skip to content

Commit 10d6d24

Browse files
Chen NiPeter Zijlstra
authored andcommitted
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: e7d5f2e ("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
1 parent 59af95e commit 10d6d24

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/x86/events/intel/uncore_snb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,11 +2005,11 @@ static struct intel_uncore_type *nvl_msr_uncores[] = {
20052005
void nvl_uncore_cpu_init(void)
20062006
{
20072007
mtl_uncore_cbox.num_boxes = 12;
2008-
mtl_uncore_cbox.perf_ctr = NVL_UNC_CBOX_PER_CTR0,
2009-
mtl_uncore_cbox.event_ctl = NVL_UNC_CBOX_PERFEVTSEL0,
2008+
mtl_uncore_cbox.perf_ctr = NVL_UNC_CBOX_PER_CTR0;
2009+
mtl_uncore_cbox.event_ctl = NVL_UNC_CBOX_PERFEVTSEL0;
20102010

2011-
ptl_uncore_santa.perf_ctr = NVL_UNC_SANTA_CTR0,
2012-
ptl_uncore_santa.event_ctl = NVL_UNC_SANTA_CTRL0,
2011+
ptl_uncore_santa.perf_ctr = NVL_UNC_SANTA_CTR0;
2012+
ptl_uncore_santa.event_ctl = NVL_UNC_SANTA_CTRL0;
20132013

20142014
mtl_uncore_cncu.box_ctl = NVL_UNC_CNCU_BOX_CTL;
20152015
mtl_uncore_cncu.fixed_ctr = NVL_UNC_CNCU_FIXED_CTR;

0 commit comments

Comments
 (0)