From: Gabor Juhos <j4g8y7@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Gabor Juhos <j4g8y7@gmail.com>
Subject: [PATCH] lib/nmi_backtrace: fix two typos in log messages
Date: Mon, 30 Nov 2026 20:47:22 +0100 [thread overview]
Message-ID: <20261130-nmi-backtrace-fix-typos-v1-1-1ef84a82593d@gmail.com> (raw)
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>
reply other threads:[~2026-11-30 19:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130-nmi-backtrace-fix-typos-v1-1-1ef84a82593d@gmail.com \
--to=j4g8y7@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®