]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (fschmd) Fix check on unsigned in watchdog_write()
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 24 Oct 2009 11:28:45 +0000 (13:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 22:26:38 +0000 (14:26 -0800)
commitcdbb74a7b9d18c0a3f99c5e242fce12456a52899
tree614f608ac807f4be9443d23c12866a46113f2617
parentcebb2ee677ef2016331f14e937811976a95003b3
hwmon: (fschmd) Fix check on unsigned in watchdog_write()

commit c7702c31340f84cfd5e5df22293578b7ae1e9370 upstream.

If unsigned the watchdog_trigger() return value will not be
checked correctly.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/fschmd.c