Thomas Gleixner
0dad3a3014
x86/mce/AMD: Make the init code more robust
...
If mce_device_init() fails then the mce device pointer is NULL and the
AMD mce code happily dereferences it.
Add a sanity check.
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-26 17:30:24 -08:00
..
2016-12-19 11:34:15 +01:00
2016-12-25 10:47:44 +01:00
2016-12-26 17:30:24 -08:00
2016-12-12 14:27:49 -08:00
2016-12-24 11:46:01 -08:00
2016-12-20 09:36:42 +01:00
2016-08-04 08:50:07 -04:00
2016-11-16 20:46:38 +01:00
2016-12-25 14:30:04 -08:00
2016-03-17 15:09:34 -07:00
2016-12-24 11:46:01 -08:00
2016-08-24 12:31:41 +02:00
2016-08-24 12:31:41 +02:00
2016-09-15 08:25:13 +02:00
2015-06-16 14:12:34 -04:00
2015-08-25 09:59:19 +02:00
2016-12-12 19:25:04 -08:00
2016-12-24 11:46:01 -08:00
2016-11-30 23:14:59 +11:00
2016-04-13 11:37:41 +02:00
2016-12-24 11:46:01 -08:00
2016-11-21 13:00:42 +01:00
2016-11-21 13:00:42 +01:00
2016-12-12 13:49:57 -08:00
2016-10-16 11:16:48 +02:00
2016-02-24 08:44:58 +01:00
2016-10-11 18:12:22 -07:00
2016-07-22 11:46:01 +02:00
2016-06-24 17:23:52 -07:00
2016-08-24 12:15:15 +02:00
2016-08-11 11:14:59 +02:00
2016-08-11 11:14:59 +02:00
2016-12-12 13:49:57 -08:00
2016-12-14 08:48:05 +01:00
2016-12-25 14:30:04 -08:00
2016-07-14 15:06:41 +02:00
2016-07-14 15:06:41 +02:00
2015-11-07 10:37:37 +01:00
2016-07-14 15:06:41 +02:00
2016-03-17 09:49:27 +01:00
2016-07-14 15:06:41 +02:00
2016-12-09 21:23:22 +01:00
2015-11-23 09:44:58 +01:00
2016-12-09 21:23:22 +01:00
2015-08-06 00:14:59 +02:00
2016-11-28 09:43:49 +01:00
2016-04-29 11:56:40 +02:00
2016-07-14 15:06:41 +02:00
2016-11-30 23:14:59 +11:00
2016-08-24 12:27:41 +02:00
2016-08-10 14:55:05 +02:00
2016-12-12 14:55:04 -08:00
2016-12-25 11:04:12 +01:00
2016-12-12 20:50:02 -08:00
2016-08-18 23:41:55 +02:00
2016-12-14 16:04:07 -08:00
2016-12-18 13:59:10 -08:00
2016-10-26 12:38:17 +02:00
2016-04-29 11:56:40 +02:00
2016-08-15 08:51:54 +02:00
2016-12-25 10:47:41 +01:00
2016-06-06 17:10:15 +02:00
2016-12-22 17:43:35 +01:00
2016-12-22 17:43:35 +01:00
2016-11-22 12:48:11 +01:00
2016-11-01 07:47:55 +01:00
2016-08-04 08:50:07 -04:00
2016-08-04 08:50:07 -04:00
2016-04-16 13:21:40 +02:00
2016-08-04 08:50:07 -04:00
2016-08-04 08:50:07 -04:00
2016-12-19 11:34:15 +01:00
2016-07-14 15:06:41 +02:00
2016-12-22 09:25:45 -08:00
2016-12-22 09:25:45 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 11:04:12 +01:00
2016-10-25 11:45:13 +02:00
2016-08-10 14:55:05 +02:00
2016-09-21 15:02:12 +02:00
2016-11-29 18:02:58 +01:00
2016-11-15 07:26:37 +01:00
2016-12-12 18:55:07 -08:00
2016-10-20 13:05:15 +02:00
2016-10-03 17:29:01 -07:00
2016-11-09 22:03:14 +01:00
2016-12-15 11:32:31 +01:00
2016-09-20 08:29:33 +02:00
2016-10-19 08:31:25 -07:00
2016-10-11 15:06:32 -07:00
2016-05-07 07:00:07 +02:00
2016-11-16 09:38:23 +01:00
2016-12-25 10:47:44 +01:00
2016-03-31 13:35:09 +02:00
2016-12-24 11:46:01 -08:00
2016-07-14 13:04:20 +02:00
2016-12-24 11:46:01 -08:00
2015-07-20 18:57:20 +02:00
2015-07-06 15:23:29 +02:00
2016-12-09 09:13:30 -05:00
2016-11-01 07:47:54 +01:00
2016-11-18 10:58:31 +01:00
2016-12-18 16:37:04 +01:00
2016-12-25 11:04:12 +01:00
2016-12-23 20:32:30 +01:00
2016-11-28 07:47:54 +01:00
2016-08-12 08:29:24 +02:00
2016-01-30 11:22:17 +01:00
2016-12-24 11:46:01 -08:00
2016-10-20 09:15:24 +02:00
2015-06-16 14:12:41 -04:00
2016-12-19 11:34:15 +01:00