summaryrefslogtreecommitdiff
path: root/drivers/hwmon/k10temp.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-09-19 15:59:34 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-10-30 04:36:03 +0300
commitfc483a9bf795ebf49bf0c872d125391d8fee2f3f (patch)
treedddab88c2fd11da4e1f5641189cbbe31cbd67d94 /drivers/hwmon/k10temp.c
parent6dcf2fb5e8db3704f50af1f198256cb4e2453f8b (diff)
downloadlinux-fc483a9bf795ebf49bf0c872d125391d8fee2f3f.tar.xz
hwmon: (stts751) Fix buffer size passed to snprintf
Function snprintf already cares for the terminating NUL at the end of the string, the caller doesn't need to do it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Andrea Merello <andrea.merello@gmail.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/k10temp.c')
0 files changed, 0 insertions, 0 deletions