Guenter Roeck
bfa02b0da6
hwmon: (w83627ehf) Fix broken driver init
...
Commit 2265cef2 (hwmon: (w83627ehf) Properly report PECI and AMD-SI
sensor types) results in kernel panic if data->temp_label was not
initialized.
The problem was found with chip W83627DHG-P.
Add check if data->temp->label was set before use.
Based on incomplete patch by Alexander Beregalov.
Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Tested-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2011-11-06 20:25:18 +01:00
..
2011-10-24 11:09:44 -07:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:32 +02:00
2011-10-24 11:09:41 -07:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-05-25 20:43:31 +02:00
2009-12-14 21:17:27 +01:00
2010-10-18 11:03:14 +02:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:14 +02:00
2011-01-12 21:55:09 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2010-08-25 15:42:10 +02:00
2011-02-26 08:59:32 -08:00
2010-03-30 22:02:32 +09:00
2011-01-08 10:55:02 -08:00
2010-10-28 20:31:50 +02:00
2010-11-15 21:38:56 +01:00
2011-01-23 09:28:50 -08:00
2011-11-04 12:00:47 +01:00
2010-10-28 20:31:50 +02:00
2011-07-17 18:39:18 +02:00
2010-03-30 22:02:32 +09:00
2011-11-06 20:25:18 +01:00
2011-01-12 21:55:13 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-07-03 13:32:53 +02:00
2011-02-09 13:45:52 -08:00
2010-08-14 21:08:54 +02:00
2011-10-24 11:09:36 -07:00
2011-01-08 10:55:07 -08:00
2011-10-24 11:09:38 -07:00
2010-10-24 13:41:39 -07:00
2011-05-25 20:43:31 +02:00
2011-01-12 21:55:11 +01:00
2010-10-18 11:03:14 +02:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-03-29 14:48:19 +02:00
2011-07-25 21:46:10 +02:00
2011-10-31 17:30:51 -07:00
2011-08-23 21:04:28 -07:00
2011-11-04 12:00:46 +01:00
2011-06-17 23:22:27 -07:00
2011-07-25 21:46:10 +02:00
2011-11-04 12:00:47 +01:00
2011-03-23 10:42:02 +01:00
2011-05-25 20:43:31 +02:00
2011-05-25 20:43:31 +02:00
2011-11-04 12:00:48 +01:00
2011-03-16 06:57:34 -07:00
2011-02-09 13:45:42 -08:00
2011-05-25 20:43:31 +02:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2010-08-14 21:08:50 +02:00
2011-11-04 12:00:47 +01:00
2011-07-25 21:46:11 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-04-29 16:33:36 +02:00
2009-12-14 21:17:27 +01:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-01-18 12:22:54 -08:00
2011-07-28 00:17:35 -07:00
2011-07-28 00:17:35 -07:00
2011-03-14 22:39:11 -07:00
2010-12-13 09:54:50 -08:00
2010-08-14 21:08:49 +02:00
2010-11-05 10:17:19 -07:00
2011-10-24 11:09:41 -07:00
2011-07-25 21:46:10 +02:00
2009-12-14 21:17:26 +01:00
2011-07-28 00:17:33 -07:00
2011-03-14 22:36:25 -07:00
2011-06-04 10:34:28 -07:00
2011-05-25 20:43:32 +02:00
2011-11-04 12:00:47 +01:00
2011-10-24 14:09:12 +02:00
2011-08-22 14:04:05 -07:00
2011-01-12 21:55:11 +01:00
2011-01-12 21:55:11 +01:00
2011-01-08 10:55:16 -08:00
2011-06-17 23:22:27 -07:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-26 16:49:47 -07:00
2011-11-04 12:00:47 +01:00
2011-01-08 10:55:18 -08:00
2011-11-04 12:00:47 +01:00
2011-11-04 12:00:47 +01:00
2011-01-08 10:55:27 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-11-04 12:00:47 +01:00
2010-05-27 19:58:49 +02:00
2010-10-28 20:31:50 +02:00
2011-05-01 09:06:35 -07:00
2011-05-25 20:43:31 +02:00
2011-01-12 21:55:09 +01:00
2011-07-25 21:46:10 +02:00
2011-01-08 10:55:30 -08:00
2011-01-08 10:55:31 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-11-06 20:25:18 +01:00
2011-01-08 10:55:33 -08:00
2011-11-04 12:00:47 +01:00
2011-09-21 17:25:18 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-12 21:55:09 +01:00
2010-03-30 22:02:32 +09:00
2009-09-17 09:46:51 +02:00