mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 18:26:39 +07:00
[WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix
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>
This commit is contained in:
parent
d532134d4c
commit
cd7b80079b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user