summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-12-01 17:21:28 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 08:52:34 -0800
commit0500898d30ba531cc932c2db171bf2f27ca78abe (patch)
tree4d3a7cdf2f6727c551b70169a5990f1be1eab87c /drivers/mfd
parent20f8d725863ca926a199cab1bc5cf31f8bf53cb0 (diff)
downloadlinux-0500898d30ba531cc932c2db171bf2f27ca78abe.tar.gz
hwmon: (coretemp) Fix oops on driver load
This is for stable kernel branch 3.0 only. Previous and later versions have different code paths and are not affected by this bug. If the CPU microcode is too old, the coretemp driver won't work. But instead of failing gracefully, it currently oops. Check for NULL platform device data to avoid this. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Durgadoss R <durgadoss.r@intel.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions