Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Chen Ni and committed by
Peter Zijlstra
10d6d241 59af95e0

+4 -4
+4 -4
arch/x86/events/intel/uncore_snb.c
··· 2005 2005 void nvl_uncore_cpu_init(void) 2006 2006 { 2007 2007 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; 2010 2010 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; 2013 2013 2014 2014 mtl_uncore_cncu.box_ctl = NVL_UNC_CNCU_BOX_CTL; 2015 2015 mtl_uncore_cncu.fixed_ctr = NVL_UNC_CNCU_FIXED_CTR;