]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: wdt285: Fix variable type
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 09:23:25 +0000 (13:23 +0400)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:28:20 +0000 (13:28 +0200)
commit0ca4392253fd37c47e3280f2cbedc8d8ac478faa
tree1e2247f211644300a15992831a07c66518fc8d38
parent6633cd24e6f6323cf2369764ac732849d7bdaac3
watchdog: wdt285: Fix variable type

Variable "new_margin" is checked in the function watchdog_ioctl()
to be non-negative, so change its type to "int".

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/wdt285.c