Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299079
b: refs/heads/master
c: 9886f44
h: refs/heads/master
i:
  299077: b7f660d
  299075: c7b5c5a
  299071: 9743958
v: v3
  • Loading branch information
Thomas Gleixner committed Apr 10, 2012
1 parent 69f15b8 commit 931fd9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f103929f8979d2638e58d7f7fda0beefcb8ee7e
refs/heads/master: 9886f444129171569461d8c39983e16f4871e3b4
7 changes: 4 additions & 3 deletions trunk/kernel/itimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,10 @@ SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value,
if(copy_from_user(&set_buffer, value, sizeof(set_buffer)))
return -EFAULT;
} else {
memset((char *) &set_buffer, 0, sizeof(set_buffer));
WARN_ONCE(1, "setitimer: new_value pointer is NULL."
" Misfeature support will be removed\n");
memset(&set_buffer, 0, sizeof(set_buffer));
printk_once(KERN_WARNING "%s calls setitimer() with new_value NULL pointer."
" Misfeature support will be removed\n",
current->comm);
}

error = do_setitimer(which, &set_buffer, ovalue ? &get_buffer : NULL);
Expand Down

0 comments on commit 931fd9f

Please sign in to comment.