Ian Munsie
f5c9df9a44
cxl: Fix NULL pointer dereference on kernel contexts with no AFU interrupts
...
If a kernel context is initialised and does not have any AFU interrupts
allocated it will cause a NULL pointer dereference when the context is
detached since the irq_names list will not have been initialised.
Move the initialisation of the irq_names list into the cxl_context_init
routine so that it will be valid for the entire lifetime of the context
and will not cause a NULL pointer dereference.
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-07-08 22:13:34 +10:00
..
2016-06-09 23:48:54 +02:00
2016-05-27 15:26:11 -07:00
2016-05-31 11:52:59 -07:00
2016-05-25 15:29:21 -07:00
2016-05-24 11:00:20 -07:00
2016-06-09 09:49:55 -06:00
2016-05-13 16:54:59 +02:00
2016-05-19 10:02:26 -07:00
2016-06-29 17:33:46 +10:00
2016-06-01 15:14:06 -07:00
2016-05-19 11:27:09 -07:00
2016-06-09 23:49:16 +02:00
2016-05-18 02:48:37 +02:00
2016-05-30 15:20:18 -07:00
2016-05-20 22:02:55 -07:00
2016-05-27 15:26:11 -07:00
2016-05-31 22:17:05 +05:30
2016-06-03 17:28:21 +02:00
2016-06-03 09:57:36 +02:00
2016-06-08 14:04:35 +02:00
2016-06-10 10:37:01 -07:00
2016-05-17 12:42:27 +02:00
2016-05-09 22:45:18 +02:00
2016-06-07 20:13:05 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 21:20:31 -07:00
2016-06-29 17:33:18 +10:00
2016-05-20 22:20:48 -07:00
2016-06-07 10:49:48 -04:00
2016-05-27 19:14:35 -07:00
2016-05-27 15:26:11 -07:00
2016-06-02 18:03:50 +01:00
2016-05-20 20:57:27 -07:00
2016-06-29 17:33:18 +10:00
2016-05-06 12:51:10 -06:00
2016-05-08 22:44:46 +05:30
2016-05-27 14:28:09 -07:00
2016-06-10 15:11:15 -07:00
2016-05-24 11:00:20 -07:00
2016-05-23 17:04:14 -07:00
2016-05-18 16:38:59 -07:00
2016-05-27 15:26:11 -07:00
2016-07-08 22:13:34 +10:00
2016-06-02 10:40:20 +02:00
2016-06-29 17:33:18 +10:00
2016-06-10 00:15:11 -07:00
2016-05-10 00:01:47 +02:00
2016-05-26 19:34:26 -07:00
2016-06-09 14:28:28 -06:00
2016-05-27 15:26:11 -07:00
2016-06-09 14:36:34 -05:00
2016-06-21 15:30:58 +10:00
2016-06-03 10:16:21 +01:00
2016-05-20 21:12:25 -07:00
2016-05-31 10:13:45 +02:00
2016-05-28 12:32:01 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 14:06:21 -07:00
2016-05-16 19:17:22 -07:00
2016-05-29 22:32:27 -07:00
2016-05-25 10:40:15 -07:00
2016-05-05 17:38:53 -07:00
2016-05-17 14:45:02 +02:00
2016-05-12 15:50:19 -07:00
2016-05-06 11:08:58 -07:00
2016-06-29 17:33:18 +10:00
2016-05-26 19:34:26 -07:00
2016-05-20 18:33:37 -07:00
2016-06-04 09:53:29 -04:00
2016-05-19 15:20:24 +02:00
2016-05-28 12:23:12 -07:00
2016-05-28 11:04:16 -07:00
2016-05-28 12:04:17 -07:00
2016-06-12 06:30:39 -07:00
2016-06-05 10:36:01 -07:00
2016-05-28 12:04:17 -07:00
2016-05-31 21:25:52 -06:00
2016-05-10 01:19:26 -07:00
2016-05-31 08:20:43 +03:00
2016-05-22 19:44:13 +03:00
2016-05-25 10:19:17 -07:00
2016-05-28 12:04:17 -07:00
2016-05-23 11:18:01 -07:00
2016-05-20 22:02:53 -07:00