kernel_optimize_test/drivers/w1
Julien Folly 6eaafbb699 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
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>
2018-10-15 20:50:32 +02:00
..
masters w1: omap-hdq: fix missing bus unregister at removal 2018-10-02 15:36:10 -07:00
slaves w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size). 2018-10-15 20:50:32 +02:00
Kconfig
Makefile
w1_family.c
w1_int.c
w1_internal.h
w1_io.c
w1_netlink.c
w1_netlink.h
w1.c w1: core: match sub-nodes of bus masters in devicetree 2018-07-11 18:09:08 +02:00