]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/cxlpmu: Remove unintended newline from IRQ name format string
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Tue, 24 Jun 2025 19:43:39 +0000 (12:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:21 +0000 (16:28 +0200)
commit8baba93e2e9519a4d2f1219dad235588d93eeb5c
tree928dd29284d54017e96aea285860a09bf87114dc
parent05ee035af6d8e28fa80d2f4d6166af4e00301d6f
perf/cxlpmu: Remove unintended newline from IRQ name format string

[ Upstream commit 3e870815ccf5bc75274158f0b5e234fce6f93229 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/perf/cxl_pmu.c