Skip to content
Commit 848ddf11 authored by Jean Delvare's avatar Jean Delvare
Browse files

hwmon: (w83781d) Fix W83782D support (NULL pointer dereference)



Commit 360782dd (hwmon: (w83781d) Stop
abusing struct i2c_client for ISA devices) broke W83782D support for
devices connected on the ISA bus. You will hit a NULL pointer
dereference as soon as you read any device attribute. Other devices,
and W83782D devices on the SMBus, aren't affected.

Reported-by: Michel Abraham
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Tested-by: Michel Abraham
parent b9008708
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment