Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634848

[PATCH] Fix NR_IRQS printk()

From Vincent Legoll <vincent.legoll@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Fix NR_IRQS printk()
Date 2017-05-03 12:10 +0200
Message-ID <tCZom-3Nf-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] Fix NR_IRQS printk() Vincent Legoll <vincent.legoll@gmail.com> - 2017-05-03 12:10 +0200
  Re: [PATCH] Fix NR_IRQS printk() Thomas Gleixner <tglx@linutronix.de> - 2017-05-09 09:10 +0200
    Re: [PATCH] Fix NR_IRQS printk() Vincent Legoll <vincent.legoll@gmail.com> - 2017-05-09 09:50 +0200
      [PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs Vincent Legoll <vincent.legoll@gmail.com> - 2017-05-09 10:30 +0200
        [PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs Vincent Legoll <vincent.legoll@gmail.com> - 2017-05-09 10:40 +0200

csiph-web