linux/drivers/w1
Ian Dall 507e2fbaaa w1: w1 temp calculation overflow fix
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=12646

When the temperature exceeds 32767 milli-degrees the temperature overflows
to -32768 millidegrees.  These are bothe well within the -55 - +125 degree
range for the sensor.

Fix overflow in left-shift of a u8.

Signed-off-by: Ian Dall <ian@beware.dropbear.id.au>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-11 14:25:37 -08:00
..
masters w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
slaves w1: w1 temp calculation overflow fix 2009-02-11 14:25:37 -08:00
Kconfig
Makefile
w1.c
w1.h w1: add touch block command 2009-01-08 08:31:13 -08:00
w1_family.c
w1_family.h
w1_int.c
w1_int.h
w1_io.c w1: add touch block command 2009-01-08 08:31:13 -08:00
w1_log.h
w1_netlink.c w1: send status messages after command processing 2009-01-08 08:31:14 -08:00
w1_netlink.h w1: send status messages after command processing 2009-01-08 08:31:14 -08:00