Skip to content

Commit 3e87081

Browse files
aloktiwawilldeacon
authored andcommitted
perf/cxlpmu: Remove unintended newline from IRQ name format string
The IRQ name format string used in devm_kasprintf() mistakenly included a newline character "\n". This could lead to confusing log output or misformatted names in sysfs or debug messages. This fix removes the newline to ensure proper IRQ naming. Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Link: https://lore.kernel.org/r/20250624194350.109790-3-alok.a.tiwari@oracle.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 6ae58c7 commit 3e87081

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/perf/cxl_pmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ static int cxl_pmu_probe(struct device *dev)
873873
return rc;
874874
irq = rc;
875875

876-
irq_name = devm_kasprintf(dev, GFP_KERNEL, "%s_overflow\n", dev_name);
876+
irq_name = devm_kasprintf(dev, GFP_KERNEL, "%s_overflow", dev_name);
877877
if (!irq_name)
878878
return -ENOMEM;
879879

0 commit comments

Comments
 (0)