irqdomain: stop screaming about preallocated irqdescs
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Nov 2012 00:20:32 +0000 (01:20 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 30 Nov 2012 09:02:35 +0000 (09:02 +0000)
In the simple irqdomain: don't shout warnings to the user,
there is no point. An informational print is sufficient.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
kernel/irq/irqdomain.c

index 4e69e24..96f3a1d 100644 (file)
@@ -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