irq: check domain hwirq range for DT translate
authorRob Herring <rob.herring@calxeda.com>
Mon, 12 Dec 2011 15:59:14 +0000 (09:59 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 28 Dec 2011 14:26:06 +0000 (08:26 -0600)
commit93797d87d63d36404907640e4e20bb976bff4744
treeb77b8c98e7fe64b05eada97ba8c0418ac2115c64
parent3ecdd0515287afbcde352077d59e4028dcfbb685
irq: check domain hwirq range for DT translate

A DT node may have more than 1 domain associated with it, so make sure
the hwirq number is within range when doing DT translation.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdomain.c