Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218558
b: refs/heads/master
c: 8c0acac
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Linus Torvalds committed Oct 28, 2010
1 parent cf5568a commit d1b12f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9384e23ab19eba0dedb861ebcba805b98a3b7a5
refs/heads/master: 8c0acac3676103113a2e259291a07c073ac07879
4 changes: 2 additions & 2 deletions trunk/arch/tile/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ long arch_ptrace(struct task_struct *child, long request,
switch (request) {

case PTRACE_PEEKUSR: /* Read register from pt_regs. */
if (addr < 0 || addr >= PTREGS_SIZE)
if (addr >= PTREGS_SIZE)
break;
childreg = (char *)task_pt_regs(child) + addr;
#ifdef CONFIG_COMPAT
Expand All @@ -77,7 +77,7 @@ long arch_ptrace(struct task_struct *child, long request,
break;

case PTRACE_POKEUSR: /* Write register in pt_regs. */
if (addr < 0 || addr >= PTREGS_SIZE)
if (addr >= PTREGS_SIZE)
break;
childreg = (char *)task_pt_regs(child) + addr;
#ifdef CONFIG_COMPAT
Expand Down

0 comments on commit d1b12f4

Please sign in to comment.