linux_old1/drivers/w1/slaves
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
..
Kconfig hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
Makefile hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
w1_bq27000.c hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
w1_ds2431.c w1: new driver. DS2431 chip 2008-10-16 11:21:51 -07:00
w1_ds2433.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
w1_ds2760.c x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
w1_ds2760.h [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
w1_smem.c [PATCH] w1: Userspace communication protocol over connector. 2006-06-22 11:22:50 -07:00
w1_therm.c w1: w1 temp calculation overflow fix 2009-02-11 14:25:37 -08:00