From: Vincent Legoll <vincent.legoll@gmail.com>
To: vincent.legoll@gmail.com, tglx@linutronix.de,
linux-kernel@vger.kernel.org
Subject: [PATCH] Fix NR_IRQS printk()
Date: Wed, 3 May 2017 12:03:11 +0200 [thread overview]
Message-ID: <1493805791-1357-1-git-send-email-vincent.legoll@gmail.com> (raw)
- Missing some whitespace
- Tell that the third number is "initcnt" (whatever that is)
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
kernel/irq/irqdesc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index 00bb0ae..b18526f 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -480,7 +480,7 @@ int __init early_irq_init(void)
/* Let arch update nr_irqs and return the nr of preallocated irqs */
initcnt = arch_probe_nr_irqs();
- printk(KERN_INFO "NR_IRQS:%d nr_irqs:%d %d\n", NR_IRQS, nr_irqs, initcnt);
+ printk(KERN_INFO "NR_IRQS: %d, nr_irqs: %d, initcnt: %d\n", NR_IRQS, nr_irqs, initcnt);
if (WARN_ON(nr_irqs > IRQ_BITMAP_BITS))
nr_irqs = IRQ_BITMAP_BITS;
--
2.1.4
next reply other threads:[~2017-05-03 10:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 10:03 Vincent Legoll [this message]
2017-05-09 7:08 ` Thomas Gleixner
2017-05-09 7:41 ` Vincent Legoll
2017-05-09 8:20 ` [PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs Vincent Legoll
2017-05-09 8:34 ` Vincent Legoll
2017-05-26 12:58 ` [tip:irq/core] genirq: Make early_irq_init() print out more informative tip-bot for Vincent Legoll
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=1493805791-1357-1-git-send-email-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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®