kernel/irq/irqdomain.c: before use 'irq_data', need check it whether valid.
authorChen Gang <gang.chen@asianux.com>
Tue, 14 May 2013 11:02:45 +0000 (19:02 +0800)
committerGrant Likely <grant.likely@linaro.org>
Sat, 8 Jun 2013 20:15:09 +0000 (21:15 +0100)
commit275e31b10ce20613aedceaa5160129c64b260a98
tree07e207a672bc8adf3c732d3a1194c9bfce2bb69f
parent346dbb79ea0118ebb0df372b35cab9d5805216cd
kernel/irq/irqdomain.c: before use 'irq_data', need check it whether valid.

Since irq_data may be NULL, if so, we WARN_ON(), and continue, 'hwirq'
which related with 'irq_data' has to initialize later, or it will cause
issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
kernel/irq/irqdomain.c