summaryrefslogtreecommitdiff
path: root/drivers/hwmon/hwmon-vid.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-12 09:24:52 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-10-17 20:16:20 +0300
commit94cdc5608b5561aeda80edda9c9223608a1da6fc (patch)
treed900738ae22626517919cd55b3b127d6c331a991 /drivers/hwmon/hwmon-vid.c
parent667f4bab81ea8357d260aa14bb6fb1a4834248d5 (diff)
downloadlinux-94cdc5608b5561aeda80edda9c9223608a1da6fc.tar.xz
hwmon: (max31790) potential ERR_PTR dereference
We should only dereference "data" after we check if it is an error pointer. Fixes: 54187ff9d766 ('hwmon: (max31790) Convert to use new hwmon registration API') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/hwmon-vid.c')
0 files changed, 0 insertions, 0 deletions