Skip to content
Snippets Groups Projects
Commit 275e31b1 authored by Chen Gang's avatar Chen Gang Committed by Grant Likely
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 346dbb79
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment