* [PATCH] arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
@ 2010-07-02 18:17 Chris Metcalf
2010-07-03 20:59 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Chris Metcalf @ 2010-07-02 18:17 UTC (permalink / raw)
To: linux-kernel; +Cc: arnd
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
arch/tile/kernel/ptrace.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/tile/kernel/ptrace.c b/arch/tile/kernel/ptrace.c
index e5701d1..7161bd0 100644
--- a/arch/tile/kernel/ptrace.c
+++ b/arch/tile/kernel/ptrace.c
@@ -96,6 +96,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
if (addr < 0 || addr >= PTREGS_SIZE)
break;
putreg(child, addr, data); /* Write register */
+ ret = 0;
break;
case PTRACE_GETREGS: /* Get all registers from the child. */
--
1.6.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
2010-07-02 18:17 [PATCH] arch/tile: avoid erroneous error return for PTRACE_POKEUSR Chris Metcalf
@ 2010-07-03 20:59 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2010-07-03 20:59 UTC (permalink / raw)
To: Chris Metcalf; +Cc: linux-kernel
On Friday 02 July 2010 20:17:52 Chris Metcalf wrote:
> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-03 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02 18:17 [PATCH] arch/tile: avoid erroneous error return for PTRACE_POKEUSR Chris Metcalf
2010-07-03 20:59 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).