Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32622
b: refs/heads/master
c: 8477b55
h: refs/heads/master
v: v3
  • Loading branch information
Vadim Lobanov authored and Linus Torvalds committed Jul 15, 2006
1 parent 6bfa204 commit 7373613
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: e78a887a5942d06c81ccf0793fbf2bd83e982122
refs/heads/master: 8477b55ba11a49515b26573a90414b718179c908
2 changes: 0 additions & 2 deletions trunk/arch/i386/lib/usercopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,6 @@ unsigned long __copy_from_user_ll_nocache_nozero(void *to, const void __user *fr
unsigned long
copy_to_user(void __user *to, const void *from, unsigned long n)
{
might_sleep();
BUG_ON((long) n < 0);
if (access_ok(VERIFY_WRITE, to, n))
n = __copy_to_user(to, from, n);
Expand All @@ -870,7 +869,6 @@ EXPORT_SYMBOL(copy_to_user);
unsigned long
copy_from_user(void *to, const void __user *from, unsigned long n)
{
might_sleep();
BUG_ON((long) n < 0);
if (access_ok(VERIFY_READ, from, n))
n = __copy_from_user(to, from, n);
Expand Down

0 comments on commit 7373613

Please sign in to comment.