mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] lib/nmi_backtrace: fix two typos in log messages
@ 2026-11-30 19:47 Gabor Juhos
  0 siblings, 0 replies; only message in thread
From: Gabor Juhos @ 2026-11-30 19:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Gabor Juhos

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@gmail.com>
---
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@gmail.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 19:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 19:47 [PATCH] lib/nmi_backtrace: fix two typos in log messages Gabor Juhos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®