git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b51aa1c
)
x86/irq: Do not dereference irq descriptor before checking it
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 28 Aug 2015 08:30:15 +0000
(10:30 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 28 Aug 2015 08:30:15 +0000
(10:30 +0200)
Having the IS_NULL_OR_ERR() check after dereferencing the pointer is
not really working well.
Move the dereference after the check.
Fixes:
a782a7e46bb5
'x86/irq: Store irq descriptor in vector array'
Reported-and-tested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/irq_32.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/irq_32.c
Simple merge