ARM: ptrace: fix style issue with hw_breakpoint interface
authorWill Deacon <will.deacon@arm.com>
Thu, 25 Nov 2010 12:59:31 +0000 (12:59 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 6 Dec 2010 11:55:57 +0000 (11:55 +0000)
This patch fixes a trivial style issue in ptrace.c.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/ptrace.c

index 3e97483abcf029ea15eee056d4fa400b2e170a34..19c6816db61ebe5bc92a7995c6ed76fa59bcd18c 100644 (file)
@@ -1060,8 +1060,8 @@ static int ptrace_sethbpregs(struct task_struct *tsk, long num,
                        goto out;
 
                if ((gen_type & implied_type) != gen_type) {
-                               ret = -EINVAL;
-                               goto out;
+                       ret = -EINVAL;
+                       goto out;
                }
 
                attr.bp_len     = gen_len;