Message ID | 1334756420-12019-1-git-send-email-linus.walleij@stericsson.com |
---|---|
State | New |
Headers | show |
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 0e0ba5f..1444454 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -136,8 +136,10 @@ struct irq_domain *irq_domain_add_legacy(struct device_node *of_node, int hwirq = first_hwirq + i; /* IRQ0 gets ignored */ - if (!irq) + if (!irq) { + pr_warn("trying to register IRQ 0 (NO_IRQ) in an irq domain\n"); continue; + } /* Legacy flags are left to default at this point, * one can then use irq_create_mapping() to