projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d6734
)
m32r: get_user takes an lvalue, not a pointer
author
Kyle McMartin
<kyle@mcmartin.ca>
Sat, 16 Oct 2010 01:17:09 +0000
(21:17 -0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 16 Oct 2010 02:37:50 +0000
(19:37 -0700)
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Al "my fuckup" Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/m32r/kernel/signal.c
b/arch/m32r/kernel/signal.c
index cc36fe1492555c2e439ba00c0717acb5f72b536a..a08697f0886d7988b012fa727c777d8bbed7b3fb 100644
(file)
--- 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;