aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorJulien Folly <julien.folly@gmail.com>2018-10-09 19:47:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-15 20:50:32 +0200
commit6eaafbb6998e999467cf78a76e155ee00e372b14 (patch)
tree40412b5bb7f56aa28d5642e06a2dd57abad37b8c /drivers/misc
parentmisc: mic: scif: remove set but not used variables 'src_dma_addr, dst_dma_addr' (diff)
downloadlinux-dev-6eaafbb6998e999467cf78a76e155ee00e372b14.tar.xz
linux-dev-6eaafbb6998e999467cf78a76e155ee00e372b14.zip
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions