Jon Hunter
9b5d585d14
genirq: Ensure IRQ descriptor is valid when setting-up the IRQ
...
In the function, setup_irq(), we don't check that the descriptor
returned from irq_to_desc() is valid before we start using it. For
example chip_bus_lock() called from setup_irq(), assumes that the
descriptor pointer is valid and doesn't check before dereferencing it.
In many other functions including setup/free_percpu_irq() we do check
that the descriptor returned is not NULL and therefore add the same test
to setup_irq() to ensure the descriptor returned is valid.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-05-11 10:12:41 +01:00
..
2016-04-26 17:37:21 -04:00
2016-02-22 08:51:37 +01:00
2016-04-04 10:50:24 -07:00
2015-12-04 22:46:25 +01:00
2016-05-11 10:12:41 +01:00
2016-03-17 09:45:10 +01:00
2016-04-19 10:49:19 +02:00
2016-03-24 22:59:58 -07:00
2016-03-17 15:09:34 -07:00
2016-03-22 15:36:02 -07:00
2016-03-29 11:52:11 +02:00
2016-03-29 11:52:11 +02:00
2016-03-25 16:37:42 -07:00
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2015-11-04 08:23:51 -05:00
2016-03-19 17:52:49 -07:00
2016-03-19 17:52:49 -07:00
2015-12-24 11:09:39 -05:00
2016-02-08 11:25:39 -05:00
2016-03-22 15:36:02 -07:00
2015-12-03 10:24:08 -05:00
2015-12-14 14:54:37 -05:00
2016-04-25 15:45:14 -04:00
2015-11-24 09:56:43 +01:00
2016-04-22 09:49:49 +02:00
2016-04-25 15:45:14 -04:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-01-20 17:09:18 -08:00
2016-04-21 11:06:09 +02:00
2016-03-22 15:36:02 -07:00
2015-11-23 09:44:58 +01:00
2015-11-23 09:44:58 +01:00
2016-03-15 16:55:16 -07:00
2016-01-20 17:09:18 -08:00
2016-03-22 15:36:02 -07:00
2016-01-30 09:49:57 +01:00
2016-03-17 11:33:45 -07:00
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2015-12-07 16:59:37 -08:00
2016-02-09 11:54:23 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-03 21:49:27 +00:00
2016-03-17 21:46:32 -07:00
2016-02-16 13:04:58 -05:00
2016-03-22 15:36:02 -07:00
2015-11-09 15:53:39 -08:00
2016-01-31 15:44:04 -08:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-01-22 18:04:28 -05:00
2016-04-14 12:56:09 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-15 13:50:29 -07:00
2016-03-01 20:36:56 +01:00
2016-03-01 20:36:56 +01:00
2016-03-25 16:37:42 -07:00
2016-01-16 11:17:24 -08:00
2015-12-01 14:00:53 -05:00
2016-03-17 15:09:34 -07:00
2016-03-22 15:36:02 -07:00
2016-03-17 15:09:34 -07:00
2016-03-22 15:36:02 -07:00
2016-02-29 09:53:09 +01:00
2016-01-04 10:27:55 -05:00
2016-03-17 15:09:34 -07:00
2016-03-02 10:28:47 -05:00
2016-04-27 12:03:59 -07:00