Skip to content

Commit 1c9ab04

Browse files
author
Sergey Matyukevich
committed
ARC: ptrace: fix typo in genregs_get
Fix typo in genregs_get that makes it store field address instead of its value. Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com>
1 parent 4361602 commit 1c9ab04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/kernel/ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static int genregs_get(struct task_struct *target,
187187
membuf_store(&to, cregs->r15);
188188
membuf_store(&to, cregs->r14);
189189
#ifdef CONFIG_ISA_ARCV3
190-
membuf_store(&to, &ptregs->r13);
190+
membuf_store(&to, ptregs->r13);
191191
#else
192192
membuf_store(&to, cregs->r13);
193193
#endif

0 commit comments

Comments
 (0)