]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf/x86/intel/uncore: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Wed, 14 Jan 2026 02:36:52 +0000 (10:36 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 15 Jan 2026 09:04:28 +0000 (10:04 +0100)
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
arch/x86/events/intel/uncore_snb.c

index e8e44741200eb5e5165a6f97a15520acacd1f5da..3dbc6bacbd9de0063dadb6f131656350f513e699 100644 (file)
@@ -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;