Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346852
b: refs/heads/master
c: 10dc42b
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Bob Liu committed Dec 13, 2012
1 parent dcc676e commit a8b5247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: aff06631da3c8349149fe4214091735b35294151
refs/heads/master: 10dc42b5b262f3bb2e4532759e4e1147ebf6a22f
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ static inline long __must_check strlen_user(const char *src)
*/

static inline unsigned long __must_check
__clear_user(void *to, unsigned long n)
__clear_user(void __user *to, unsigned long n)
{
if (!access_ok(VERIFY_WRITE, to, n))
return n;
memset(to, 0, n);
memset((void __force *)to, 0, n);
return 0;
}

Expand Down

0 comments on commit a8b5247

Please sign in to comment.