diff options
| author | Wim Van Sebroeck <[email protected]> | 2012-03-23 10:48:22 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2012-03-27 18:16:13 +0000 |
| commit | b92c803ec61de59e6e4ab9b2748d8e633cec3f08 (patch) | |
| tree | 58af22b2fe89531cef7797a86c3de2bba7369b46 /lib/mpi/mpi-scan.c | |
| parent | watchdog: Convert txx9wdt driver to watchdog framework (diff) | |
| download | kernel-b92c803ec61de59e6e4ab9b2748d8e633cec3f08.tar.gz kernel-b92c803ec61de59e6e4ab9b2748d8e633cec3f08.zip | |
watchdog: txx9wdt: fix timeout
timeout should be an unsigned int.
Set the timeout value properly in the watchdog_device struct so that
we don't get an faulty values for the WDIOC_GETTIMEOUT ioctl call.
Add check to see that timeout is a valid parameter after it is loaded
as a module.
Signed-off-by: Wim Van Sebroeck <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions
