From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> there are lots of warnings about the macro: clear_user in linux-mips. the type of the second argument of access_ok should be (void __user *), but there is an un-needed (unsigned long) conversion before __cl_addr, so, remove the (unsigned long) will fix this problem. Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> -- 1.6.2.1