summaryrefslogtreecommitdiffstats
path: root/net/atm/atm_sysfs.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-05-18 12:48:00 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-05-18 14:59:08 +0200
commitfe12bc2c996d3e492b2920e32ac79f7bbae3e15d (patch)
tree05af87563123d909d04c328aead3fe24599633d1 /net/atm/atm_sysfs.c
parentfe0514348452f5b0ad7e842b0d71b8322b1297de (diff)
downloadop-kernel-dev-fe12bc2c996d3e492b2920e32ac79f7bbae3e15d.zip
op-kernel-dev-fe12bc2c996d3e492b2920e32ac79f7bbae3e15d.tar.gz
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 <tglx@linutronix.de> Cc: Jonathan Cameron <jic23@cam.ac.uk>
Diffstat (limited to 'net/atm/atm_sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud