Skip to content

Commit

Permalink
[WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix
Browse files Browse the repository at this point in the history
Add fixed timeout comments

Cc: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
  • Loading branch information
Andrew Morton authored and Wim Van Sebroeck committed Sep 11, 2005
1 parent d532134 commit cd7b800
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/char/watchdog/ibmasr.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,10 @@ static int asr_ioctl(struct inode *inode, struct file *file,
asr_toggle();
return 0;


/*
* The hardware has a fixed timeout value, so WDIOC_SETTIMEOUT
* is a noop and WDIOC_GETTIMEOUT always returns 256.
*/
case WDIOC_SETTIMEOUT:
if (get_user(heartbeat, p))
return -EFAULT;
Expand Down

0 comments on commit cd7b800

Please sign in to comment.