[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101016011709.GT8332@bombadil.infradead.org>
Date: Fri, 15 Oct 2010 21:17:09 -0400
From: Kyle McMartin <kyle@...artin.ca>
To: torvalds@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, takata@...ux-m32r.org,
linux-m32r@...linux-m32r.org, viro@...iv.linux.org.uk
Subject: [PATCH 2/4] m32r: get_user takes an lvalue, not a pointer
Signed-off-by: Kyle McMartin <kyle@...hat.com>
---
arch/m32r/kernel/signal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c
index cc36fe1..a08697f 100644
--- a/arch/m32r/kernel/signal.c
+++ b/arch/m32r/kernel/signal.c
@@ -256,7 +256,7 @@ give_sigsegv:
static int prev_insn(struct pt_regs *regs)
{
u16 inst;
- if (get_user(&inst, (u16 __user *)(regs->bpc - 2)))
+ if (get_user(inst, (u16 __user *)(regs->bpc - 2)))
return -EFAULT;
if ((inst & 0xfff0) == 0x10f0) /* trap ? */
regs->bpc -= 2;
--
1.7.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists