linux-mips
[Top] [All Lists]

[loongson-support 03/27] fix-error: incompatiable argument type of clear

To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: [loongson-support 03/27] fix-error: incompatiable argument type of clear_user
From: wuzhangjin@gmail.com
Date: Thu, 21 May 2009 05:24:25 +0800
Cc: Wu Zhangjin <wuzhangjin@gmail.com>, Yan hua <yanh@lemote.com>, Philippe Vachon <philippe@cowpig.ca>, Zhang Le <r0bertz@gentoo.org>, Zhang Fuxin <zhangfx@lemote.com>, Arnaud Patard <apatard@mandriva.com>, loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org, Nicholas Mc Guire <hofrat@hofr.at>, Liu Junliang <liujl@lemote.com>, Erwan Lerale <erwan@thiscow.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=TDvL7gVd6SpeOgk8rKZFbCnUnFwrgbxzVW8G2xCezvg=; b=FPB9A2wPzHwEcMplGsS/Qx4e0o5C1dV6lEKEtIT0tpgl9b0TWhM7W5ZCfvq5w+RQHO C9zYNIh3oGMcV51RMw5QEhWDwaoGUV8BAbtPI+okjWUzeq8yzAaTs+qynm6E2YQXyaGm t3IkAgAgIrXe8Cmg5iwNes7RXepVnwlv7+3xU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Edl/yv1m4zm6mohQ8BGD/vcCnOTQqHuF9QqKs370CzDu/3SCsPbxnRVoNOJnxPyq3G xo+ryFrt2JI/0qrtPF27hCJAWbH9WkTURM0+XMW699CmcQ7BIs3924w6mr+ZF8CRkF63 bYMuzd/QG/70R8S4epJsiUlpdES6vGYmp3fUs=
In-reply-to: <cover.1242851584.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1242851584.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

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@gmail.com>

-- 
1.6.2.1


<Prev in Thread] Current Thread [Next in Thread>