All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib/nmi_backtrace: fix two typos in log messages
@ 2026-11-30 19:47 Gabor Juhos
  2026-11-30 22:40 ` + lib-nmi_backtrace-fix-two-typos-in-log-messages.patch added to mm-nonmm-unstable branch Andrew Morton
  0 siblings, 1 reply; 2+ messages 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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-30 22:40 UTC | newest]

Thread overview: 2+ messages (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
2026-11-30 22:40 ` + lib-nmi_backtrace-fix-two-typos-in-log-messages.patch added to mm-nonmm-unstable branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.