Re: [PATCH 5/6] ptrace/x86: cleanup ptrace_set_debugreg()

2013-04-29 Thread Frederic Weisbecker
On Thu, Apr 18, 2013 at 08:44:22PM +0200, Oleg Nesterov wrote: > ptrace_set_debugreg() is trivial but looks horrible. Kill the > unnecessary goto's and return's to cleanup the code. > > This matches ptrace_get_debugreg() which also needs the trivial > whitespace cleanups. > > Signed-off-by: Oleg

Re: [PATCH 5/6] ptrace/x86: cleanup ptrace_set_debugreg()

2013-04-29 Thread Frederic Weisbecker
On Thu, Apr 18, 2013 at 08:44:22PM +0200, Oleg Nesterov wrote: ptrace_set_debugreg() is trivial but looks horrible. Kill the unnecessary goto's and return's to cleanup the code. This matches ptrace_get_debugreg() which also needs the trivial whitespace cleanups. Signed-off-by: Oleg

[PATCH 5/6] ptrace/x86: cleanup ptrace_set_debugreg()

2013-04-18 Thread Oleg Nesterov
ptrace_set_debugreg() is trivial but looks horrible. Kill the unnecessary goto's and return's to cleanup the code. This matches ptrace_get_debugreg() which also needs the trivial whitespace cleanups. Signed-off-by: Oleg Nesterov --- arch/x86/kernel/ptrace.c | 26 -- 1

[PATCH 5/6] ptrace/x86: cleanup ptrace_set_debugreg()

2013-04-18 Thread Oleg Nesterov
ptrace_set_debugreg() is trivial but looks horrible. Kill the unnecessary goto's and return's to cleanup the code. This matches ptrace_get_debugreg() which also needs the trivial whitespace cleanups. Signed-off-by: Oleg Nesterov o...@redhat.com --- arch/x86/kernel/ptrace.c | 26