Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756573Ab2K3JCx (ORCPT ); Fri, 30 Nov 2012 04:02:53 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:36871 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756556Ab2K3JCu (ORCPT ); Fri, 30 Nov 2012 04:02:50 -0500 From: Grant Likely Subject: Re: [PATCH] irqdomain: stop screaming about preallocated irqdescs To: Linus Walleij , linux-kernel@vger.kernel.org, Rob Herring , Thomas Gleixner Cc: Anmar Oueja , Linus Walleij In-Reply-To: <1353975632-1327-1-git-send-email-linus.walleij@stericsson.com> References: <1353975632-1327-1-git-send-email-linus.walleij@stericsson.com> Date: Fri, 30 Nov 2012 09:02:46 +0000 Message-Id: <20121130090246.59F733E070C@localhost> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1523 Lines: 46 On Tue, 27 Nov 2012 01:20:32 +0100, Linus Walleij wrote: > From: Linus Walleij > > In the simple irqdomain: don't shout warnings to the user, > there is no point. An informational print is sufficient. > > Cc: Rob Herring > Cc: Grant Likely > Cc: Thomas Gleixner > Signed-off-by: Linus Walleij Applied, thanks. g. > --- > kernel/irq/irqdomain.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c > index 4e69e24..96f3a1d 100644 > --- a/kernel/irq/irqdomain.c > +++ b/kernel/irq/irqdomain.c > @@ -177,8 +177,8 @@ struct irq_domain *irq_domain_add_simple(struct device_node *of_node, > irq_base = irq_alloc_descs(first_irq, first_irq, size, > of_node_to_nid(of_node)); > if (irq_base < 0) { > - WARN(1, "Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated\n", > - first_irq); > + pr_info("Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated\n", > + first_irq); > irq_base = first_irq; > } > } else > -- > 1.7.11.3 > -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies, Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/