[PATCH] lib/nmi_backtrace: fix two typos in log messages
From: Gabor Juhos
Date: Mon Nov 30 2026 - 14:47:39 EST
Both messages in the nmi_trigger_cpumask_backtrace() are contains typos.
In the first message, the colon is misplaced, it should be printed before
the bitmask. In the second message, 'CPUS' should be written as 'CPUs'.
Fix both.
Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx>
---
Note: checkpatch.pl emits a warning becuse the pr_warn() line exceeds the
100 columns limit, although the patch does not change the lenght of the
line.
---
lib/nmi_backtrace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c
index f39c9eca8888..bf35f777856e 100644
--- a/lib/nmi_backtrace.c
+++ b/lib/nmi_backtrace.c
@@ -66,7 +66,7 @@ void nmi_trigger_cpumask_backtrace(const cpumask_t *mask,
nmi_cpu_backtrace(NULL);
if (!cpumask_empty(to_cpumask(backtrace_mask))) {
- pr_info("Sending NMI from CPU %d to CPUs %*pbl:\n",
+ pr_info("Sending NMI from CPU %d to CPUs: %*pbl\n",
this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask));
nmi_backtrace_stall_snap(to_cpumask(backtrace_mask));
raise(to_cpumask(backtrace_mask));
@@ -81,7 +81,7 @@ void nmi_trigger_cpumask_backtrace(const cpumask_t *mask,
}
if (!cpumask_empty(to_cpumask(backtrace_mask))) {
- pr_warn("After " __stringify(NMI_BT_TIMEOUT_SEC) " seconds, these CPUS still haven't responded to the NMI: %*pbl\n",
+ pr_warn("After " __stringify(NMI_BT_TIMEOUT_SEC) " seconds, these CPUs still haven't responded to the NMI: %*pbl\n",
cpumask_pr_args(to_cpumask(backtrace_mask)));
nmi_backtrace_stall_check(to_cpumask(backtrace_mask));
---
base-commit: 87ffe1d768dce89729caba4829db89bbd96ca9b6
change-id: 20261130-nmi-backtrace-fix-typos-1348f4dc1673
Best regards,
--
Gabor Juhos <j4g8y7@xxxxxxxxx>