From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752379AbdEIIU7 (ORCPT ); Tue, 9 May 2017 04:20:59 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34307 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbdEIIUx (ORCPT ); Tue, 9 May 2017 04:20:53 -0400 From: Vincent Legoll To: tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs Date: Tue, 9 May 2017 10:20:42 +0200 Message-Id: <1494318042-6512-1-git-send-email-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The early_irq_init() function was not telling what all the displayed information is. - Add some missing whitespace & commas for easier reading - Tell that the third number is the number of preallocated irqs returned by arch_probe_nr_irqs() Signed-off-by: Vincent Legoll --- kernel/irq/irqdesc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index 00bb0ae..cd22d85 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -480,7 +480,8 @@ 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, nr of preallocated irqs: %d\n", + NR_IRQS, nr_irqs, initcnt); if (WARN_ON(nr_irqs > IRQ_BITMAP_BITS)) nr_irqs = IRQ_BITMAP_BITS; -- 2.7.4