summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-27 01:20:32 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-11-30 09:02:35 +0000
commitd202b7b970b2a21278505c2467919fd441a7b6c8 (patch)
tree4652028e2fcd0fc0f76baeb889cca35723f887ed
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17 (diff)
downloadlinux-d202b7b970b2a21278505c2467919fd441a7b6c8.tar.gz
linux-d202b7b970b2a21278505c2467919fd441a7b6c8.tar.bz2
linux-d202b7b970b2a21278505c2467919fd441a7b6c8.zip
irqdomain: stop screaming about preallocated irqdescs
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>
-rw-r--r--kernel/irq/irqdomain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 4e69e24d3d7d..96f3a1d9c379 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