linux-stable-rt/drivers/hwmon
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
..
pmbus hwmon: (pmbus_core) Simplify sign extensions 2011-10-24 11:09:44 -07:00
Kconfig hwmon: (w83627ehf) Add support for the W83627UHG 2011-11-04 12:00:48 +01:00
Makefile hwmon: AD7314 driver (ported from IIO) 2011-10-24 11:09:41 -07:00
abituguru.c
abituguru3.c
acpi_power_meter.c
ad7314.c hwmon: AD7314 driver (ported from IIO) 2011-10-24 11:09:41 -07:00
ad7414.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ad7418.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
adcxx.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads1015.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ads7828.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ads7871.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c
amc6821.c
applesmc.c
asb100.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
asc7621.c
asus_atk0110.c
atxp1.c
coretemp.c hwmon: (coretemp) Fix for non-SMP builds 2011-11-06 20:25:18 +01:00
dme1737.c
ds620.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
ds1621.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
emc6w201.c
emc1403.c
emc2103.c
exynos4_tmu.c hwmon: (exynos4_tmu) Remove IRQF_DISABLED 2011-10-24 11:09:36 -07:00
f71805f.c
f71882fg.c hwmon/f71882fg: Make the decision wether to register fan attr. per fan 2011-10-24 11:09:38 -07:00
f75375s.c
fam15h_power.c
fschmd.c
g760a.c
gl518sm.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
gl520sm.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
gpio-fan.c
hwmon-vid.c
hwmon.c hwmon: convert idr to ida and use ida_simple interface 2011-10-31 17:30:51 -07:00
i5k_amb.c hwmon: (i5k_amb) Drop i5k_channel_pci_id 2011-08-23 21:04:28 -07:00
ibmaem.c hwmon: (ibmaem) Avoid repeated memory allocations 2011-11-04 12:00:46 +01:00
ibmpex.c
it87.c
jc42.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
jz4740-hwmon.c
k8temp.c
k10temp.c
lineage-pem.c
lm63.c
lm70.c
lm73.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm75.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm75.h
lm77.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c hwmon: (lm90) Make code more readable 2011-11-04 12:00:47 +01:00
lm92.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
lm93.c
lm95241.c
lm95245.c
ltc4151.c
ltc4215.c
ltc4245.c
ltc4261.c
max1111.c
max1619.c
max1668.c
max6639.c
max6642.c
max6650.c
max16065.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
mc13783-adc.c hwmon: Convert mc13783-adc to mc13xxx API 2011-10-24 14:09:12 +02:00
ntc_thermistor.c
pc87360.c
pc87427.c
pcf8591.c
s3c-hwmon.c
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
sht15.c
sht21.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
sis5595.c
smm665.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
smsc47b397.c hwmon: (smsc47b397) Fix checkpatch errors 2011-11-04 12:00:47 +01:00
smsc47m1.c
smsc47m192.c
thmc50.c
tmp102.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
tmp401.c
tmp421.c
twl4030-madc-hwmon.c
ultra45_env.c
via-cputemp.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Fix broken driver init 2011-11-06 20:25:18 +01:00
w83627hf.c
w83781d.c hwmon: Use i2c_smbus_{read,write}_word_swapped 2011-11-04 12:00:47 +01:00
w83791d.c hwmon: (w83791d) rename prototype parameter from 'register' to 'reg' 2011-09-21 17:25:18 -07:00
w83792d.c
w83793.c
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c