Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] add __user tag to __get_user_check
@ 2006-01-28 17:27 Atsushi Nemoto
  2006-01-29 14:10 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2006-01-28 17:27 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Revert __user tag lost by recent get_user rework.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

diff --git a/include/asm-mips/uaccess.h b/include/asm-mips/uaccess.h
index 6c1c495..91d813a 100644
--- a/include/asm-mips/uaccess.h
+++ b/include/asm-mips/uaccess.h
@@ -233,7 +233,7 @@ do {									\
 #define __get_user_check(x,ptr,size)					\
 ({									\
 	long __gu_err = -EFAULT;					\
-	const void * __gu_ptr = (ptr);					\
+	const void __user * __gu_ptr = (ptr);				\
 									\
 	if (likely(access_ok(VERIFY_READ,  __gu_ptr, size)))		\
 		__get_user_common((x), size, __gu_ptr);			\

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] add __user tag to __get_user_check
  2006-01-28 17:27 [PATCH] add __user tag to __get_user_check Atsushi Nemoto
@ 2006-01-29 14:10 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2006-01-29 14:10 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Sun, Jan 29, 2006 at 02:27:24AM +0900, Atsushi Nemoto wrote:

> Revert __user tag lost by recent get_user rework.

Applied,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-30 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 17:27 [PATCH] add __user tag to __get_user_check Atsushi Nemoto
2006-01-29 14:10 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox