From: Wu Zhangjin Date: Wed, 20 May 2009 21:50:01 +0000 (+0800) Subject: MIPS: Fix sparse warning in incompatiable argument type of clear_user. X-Git-Tag: v2.6.30-rc7~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d3892379f93b73ef905fb3449f4e4438a53b40;p=pandora-kernel.git 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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed