linux-brain/drivers/w1
Julien Folly 9c6b1927f8 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
[ Upstream commit 6eaafbb699 ]

IAD Register is yet readable trough the "iad" sys file.

A write to the "iad" sys file enables or disables the current
measurement, but it was not possible to get the measured value by
reading it.
Fix: %u in snprintf for unsigned values (vdd and vad)
Fix: Avoid possibles overflows (Usage of the 'count' variables)

Signed-off-by: Julien Folly <julien.folly@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-01 09:13:24 +01:00
..
masters USB: w1 ds2490: Fix bug caused by improper use of altsetting array 2019-05-08 07:20:46 +02:00
slaves w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size). 2019-12-01 09:13:24 +01:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1_family.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_int.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_internal.h w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_io.c w1: fix the resume command API 2019-05-31 06:47:21 -07:00
w1_netlink.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_netlink.h w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1.c 1wire: family module autoload fails because of upper/lower case mismatch. 2018-07-03 11:24:47 +02:00