From: Thomas Gleixner Date: Wed, 18 May 2011 10:48:00 +0000 (+0200) Subject: genirq: Uninline and sanity check generic_handle_irq() X-Git-Tag: v3.0-rc1~405^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe12bc2c996d3e492b2920e32ac79f7bbae3e15d;p=pandora-kernel.git genirq: Uninline and sanity check generic_handle_irq() generic_handle_irq() is missing a NULL pointer check for the result of irq_to_desc. This was a not a big problem, but we want to expose it to drivers, so we better have sanity checks in place. Add a return value as well, which indicates that the irq number was valid and the handler was invoked. Based on the pure code move from Jonathan Cameron. Signed-off-by: Thomas Gleixner Cc: Jonathan Cameron --- Reading git-diff-tree failed