| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] add __user tag to __get_user_check |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Sun, 29 Jan 2006 02:27:24 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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); \
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] use __always_inline for __xchg, Imre Kaloz |
|---|---|
| Next by Date: | [PATCH] Remove wrong __user tags., Atsushi Nemoto |
| Previous by Thread: | [PATCH] use __always_inline for __xchg, Imre Kaloz |
| Next by Thread: | Re: [PATCH] add __user tag to __get_user_check, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |