summaryrefslogtreecommitdiff
path: root/tools/perf/util/dso.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-08-28 11:30:15 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-08-28 11:30:15 +0300
commita47d4576cd1c58157a2d8cfffa93aa7ca375eede (patch)
treece12e2951db7b593bc6b9621107758fa0791d5ff /tools/perf/util/dso.h
parentb51aa1cc7807f4dff7b70a762aa6d8814976d706 (diff)
downloadlinux-a47d4576cd1c58157a2d8cfffa93aa7ca375eede.tar.xz
x86/irq: Do not dereference irq descriptor before checking it
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>
Diffstat (limited to 'tools/perf/util/dso.h')
0 files changed, 0 insertions, 0 deletions