]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
hwmon: (w83793) Saving negative errors in unsigned
authorDan Carpenter <error27@gmail.com>
Mon, 29 Mar 2010 20:03:03 +0000 (22:03 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 29 Mar 2010 20:03:03 +0000 (22:03 +0200)
commit3f7cd7ea9383755eef53f92667c520489165667f
treeff148760ace3337d2426269da246732487ab7b63
parent4d7a5644e4adfafe76c2bd8ee168e3f3b5dae3a8
hwmon: (w83793) Saving negative errors in unsigned

"ret" is used to store the return value for watchdog_trigger() and it
should be signed for the error handling to work.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83793.c