]> 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)
commit2ac402c810bf417525db010506bdc2a4a6d83a7f
tree1e2247f211644300a15992831a07c66518fc8d38
parent3dab173eeea9f9c537845e4cb7e190bd59b965a0
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