Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74908
b: refs/heads/master
c: 783e6bc
h: refs/heads/master
v: v3
  • Loading branch information
Corey Minyard authored and Wim Van Sebroeck committed Nov 28, 2007
1 parent 6746e9b commit 75b7bd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38ff6fd2fa4959925cf217ccaebea90fabd8ce04
refs/heads/master: 783e6bcde4e6a7c849fa5fa7f35b0fba721ac5f4
2 changes: 2 additions & 0 deletions trunk/drivers/char/ipmi/ipmi_watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,13 +669,15 @@ static int ipmi_ioctl(struct inode *inode, struct file *file,
return 0;

case WDIOC_SET_PRETIMEOUT:
case WDIOC_SETPRETIMEOUT:
i = copy_from_user(&val, argp, sizeof(int));
if (i)
return -EFAULT;
pretimeout = val;
return ipmi_set_timeout(IPMI_SET_TIMEOUT_HB_IF_NECESSARY);

case WDIOC_GET_PRETIMEOUT:
case WDIOC_GETPRETIMEOUT:
i = copy_to_user(argp, &pretimeout, sizeof(pretimeout));
if (i)
return -EFAULT;
Expand Down

0 comments on commit 75b7bd9

Please sign in to comment.