Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

m32r: get_user takes an lvalue, not a pointer

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>

authored by

Kyle McMartin and committed by
Linus Torvalds
388d148f 99d6734f

+1 -1
+1 -1
arch/m32r/kernel/signal.c
··· 256 256 static int prev_insn(struct pt_regs *regs) 257 257 { 258 258 u16 inst; 259 - if (get_user(&inst, (u16 __user *)(regs->bpc - 2))) 259 + if (get_user(inst, (u16 __user *)(regs->bpc - 2))) 260 260 return -EFAULT; 261 261 if ((inst & 0xfff0) == 0x10f0) /* trap ? */ 262 262 regs->bpc -= 2;