mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
m32r: get_user takes an lvalue, not a pointer
Signed-off-by: Kyle McMartin <[email protected]> Acked-by: Al "my fuckup" Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
99d6734f3c
commit
388d148fe8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue