[patch] fix sparse warning due to missing __user cast

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-01-15 18:25:29
Trivial fix for a missing "__user" attribute.

	--david

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>

===== arch/ia64/ia32/sys_ia32.c 1.111 vs edited =====
--- 1.111/arch/ia64/ia32/sys_ia32.c	2005-01-11 15:58:41 -08:00
+++ edited/arch/ia64/ia32/sys_ia32.c	2005-01-14 23:01:12 -08:00
@@ -2656,7 +2647,7 @@
 	info.si_signo = 0;
 	set_fs (KERNEL_DS);
 	ret = sys_waitid(which, pid, (siginfo_t __user *) &info, options,
-			 uru ? &ru : NULL);
+			 uru ? (struct rusage __user *) &ru : NULL);
 	set_fs (old_fs);
 
 	if (ret < 0 || info.si_signo == 0)
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Jan 15 02:27:05 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST