gnewsense-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnewsense-dev] [loongson-support 03/27] fix-error: incompatiable argume


From: wuzhangjin
Subject: [Gnewsense-dev] [loongson-support 03/27] fix-error: incompatiable argument type of clear_user
Date: Thu, 21 May 2009 05:24:25 +0800

From: Wu Zhangjin <address@hidden>

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 <address@hidden>

-- 
1.6.2.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]