[Top] [All Lists]

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

To:, Ralf Baechle <>
Subject: [loongson-support 03/27] fix-error: incompatiable argument type of clear_user
Date: Thu, 21 May 2009 05:24:25 +0800
Cc: Wu Zhangjin <>, Yan hua <>, Philippe Vachon <>, Zhang Le <>, Zhang Fuxin <>, Arnaud Patard <>,,, Nicholas Mc Guire <>, Liu Junliang <>, Erwan Lerale <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <>
From: Wu Zhangjin <>

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 <>


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