diff options
author | Sudip Mukherjee | 2015-09-16 16:02:59 +0200 |
---|---|---|
committer | Guenter Roeck | 2015-10-14 16:57:14 +0200 |
commit | 791432cfd95bea3515f8cdfaf72ec263e5d3da80 (patch) | |
tree | 6ee42f86b2870a6956f7285aabcfd299f0597634 /drivers/atm/atmtcp.c | |
parent | hwmon: Driver for Maxim MAX31790 (diff) | |
download | kernel-qcow2-linux-791432cfd95bea3515f8cdfaf72ec263e5d3da80.tar.gz kernel-qcow2-linux-791432cfd95bea3515f8cdfaf72ec263e5d3da80.tar.xz kernel-qcow2-linux-791432cfd95bea3515f8cdfaf72ec263e5d3da80.zip |
hwmon: (max31790) Fix dereference of ERR_PTR
max31790_update_device() return the error code in ERR_PTR. We were
checking if it has returned error or not but before checking we have
dereferenced it.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/atm/atmtcp.c')
0 files changed, 0 insertions, 0 deletions