summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorJulien Folly <julien.folly@gmail.com>2018-10-09 19:47:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-01 09:13:24 +0100
commit9c6b1927f85618ad5998c65243a4787c9e228cb1 (patch)
treecde4b0a36265b621ed2df792b703bdf35a5166a0 /arch/m68k
parent436a4721765a66f43d31f808baf51be560951c3e (diff)
w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
[ Upstream commit 6eaafbb6998e999467cf78a76e155ee00e372b14 ] 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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions