Commit 3a05633b authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (jc42) Fix integer overflow



Mixed use of long and int caused an integer overflow when writing large limits.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
parent bca6a1ad
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment