diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-02-11 13:26:21 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-03-27 10:47:36 +0300 |
commit | 9ffd906d9a6e50c958bd99971d762a426a12a36a (patch) | |
tree | 19d40ce869a4ae9d61984bd10dab8516c2c1df0c /drivers/watchdog/smsc37b787_wdt.c | |
parent | 3c435c1e472ba344ee25f795f4807d4457e61f6c (diff) | |
download | linux-9ffd906d9a6e50c958bd99971d762a426a12a36a.tar.xz |
watchdog: mtk_wdt: signedness bug in mtk_wdt_start()
"ret" should be signed for the error handling to work correctly. This
doesn't matter much in real life since mtk_wdt_set_timeout() always
succeeds.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/smsc37b787_wdt.c')
0 files changed, 0 insertions, 0 deletions