git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5805977
)
MIPS: Fix sparse warning in incompatiable argument type of clear_user.
author
Wu Zhangjin
<wuzhangjin@gmail.com>
Wed, 20 May 2009 21:50:01 +0000
(
05:50
+0800)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 22 May 2009 12:52:05 +0000
(13:52 +0100)
The type of the second argument of access_ok should be (void __user *).
The unnecessary conversion of the clear_user address argument was causing
sparse to emit warnings on the __chk_user_ptr check.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
No differences found