Guenter Roeck
60ca5e0d28
driver-core: platform: Catch errors from calls to irq_get_irq_data
...
irq_get_irq_data() can return NULL, which results in a nasty crash.
Check its return value before passing it on to irqd_set_trigger_type().
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-27 12:30:37 +02:00
..
2016-08-31 03:00:59 +02:00
2016-07-15 13:44:47 +01:00
2016-08-31 15:13:56 +02:00
2015-11-30 14:47:22 +01:00
2016-02-09 17:25:27 -08:00
2015-09-17 06:06:54 -07:00
2015-09-29 15:23:14 +02:00
2016-02-14 14:29:55 -08:00
2013-12-29 15:25:48 +01:00
2016-08-31 15:13:55 +02:00
2016-08-31 15:19:55 +02:00
2016-09-02 15:08:02 +02:00
2016-04-15 11:20:32 -07:00
2015-10-09 17:00:33 -04:00
2016-01-22 18:04:28 -05:00
2016-08-31 15:13:56 +02:00
2015-11-04 21:50:37 -08:00
2016-08-31 15:19:55 +02:00
2015-03-25 14:36:30 +01:00
2016-08-02 19:35:10 -04:00
2008-01-24 20:40:23 -08:00
2011-10-31 19:31:38 -04:00
2015-05-26 19:55:56 -07:00
2016-06-17 20:47:11 -07:00
2016-08-31 15:13:55 +02:00
2016-06-17 20:21:12 -07:00
2015-03-25 14:35:08 +01:00
2016-07-26 16:19:19 -07:00
2016-06-15 19:21:31 -07:00
2016-08-02 17:31:41 -04:00
2015-10-27 11:24:23 +01:00
2016-01-26 16:33:25 +01:00
2016-09-27 12:30:37 +02:00
2016-06-26 12:39:03 +01:00
2016-08-31 15:13:56 +02:00
2014-09-01 13:48:59 +02:00
2016-06-13 15:58:27 +02:00
2011-10-31 19:31:15 -04:00