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>

authored by Wu Zhangjin and committed by Ralf Baechle 63d38923 5805977e

+1 -1
+1 -1
arch/mips/include/asm/uaccess.h
··· 956 void __user * __cl_addr = (addr); \ 957 unsigned long __cl_size = (n); \ 958 if (__cl_size && access_ok(VERIFY_WRITE, \ 959 - ((unsigned long)(__cl_addr)), __cl_size)) \ 960 __cl_size = __clear_user(__cl_addr, __cl_size); \ 961 __cl_size; \ 962 })
··· 956 void __user * __cl_addr = (addr); \ 957 unsigned long __cl_size = (n); \ 958 if (__cl_size && access_ok(VERIFY_WRITE, \ 959 + __cl_addr, __cl_size)) \ 960 __cl_size = __clear_user(__cl_addr, __cl_size); \ 961 __cl_size; \ 962 })