diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-11-06 20:25:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:37:00 -0800 |
commit | 24b791339f0e80761de402cbb13ff2ddb19b8c03 (patch) | |
tree | 61e1f459f47409767b0f12d1a9b79063837a878f /README | |
parent | e3c298129b14f1591e647320bba3f9bc21ea63f1 (diff) | |
download | kernel_samsung_aries-24b791339f0e80761de402cbb13ff2ddb19b8c03.zip kernel_samsung_aries-24b791339f0e80761de402cbb13ff2ddb19b8c03.tar.gz kernel_samsung_aries-24b791339f0e80761de402cbb13ff2ddb19b8c03.tar.bz2 |
hwmon: (w83627ehf) Fix broken driver init
commit bfa02b0da66965caf46e441270af87edda4fea14 upstream.
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>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions