commit | 63d3892379f93b73ef905fb3449f4e4438a53b40 | [log] [tgz] |
---|---|---|
author | Wu Zhangjin <wuzhangjin@gmail.com> | Thu May 21 05:50:01 2009 +0800 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri May 22 13:52:05 2009 +0100 |
tree | 8444be1ddd42093c04b47627a1ff2f4013225ba6 | |
parent | 5805977e63a36ad56594a623f3bd2bebcb7db233 [diff] |
MIPS: Fix sparse warning in incompatiable argument type of clear_user. 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>