summaryrefslogtreecommitdiffstats
path: root/fs/coredump.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-12-03 11:09:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2016-12-09 21:54:31 -0800
commitb94793b4da1011f24321e2ecc5e173a7198358a5 (patch)
tree366f8acd3e355bb0d782038768ab98b6ed5d77a7 /fs/coredump.c
parentf1b9baa99bd98f83e8601e5cfd3bd28027a6f5a8 (diff)
downloadlinux-b94793b4da1011f24321e2ecc5e173a7198358a5.tar.gz
linux-b94793b4da1011f24321e2ecc5e173a7198358a5.tar.bz2
linux-b94793b4da1011f24321e2ecc5e173a7198358a5.zip
hwmon: (adt7462) Fix overflows seen when writing into limit attributes
Fix overflows seen when writing large values into temperature limit, voltage limit, and pwm hysteresis attributes. The input parameter to DIV_ROUND_CLOSEST() needs to be clamped to avoid such overflows. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions