From a47d4576cd1c58157a2d8cfffa93aa7ca375eede Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 28 Aug 2015 10:30:15 +0200 Subject: [PATCH] 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 Signed-off-by: Thomas Gleixner --- Reading git-format-patch failed