2012-08-01 22:24:26

by Meredydd Luff

[permalink] [raw]
Subject: [PATCH] um: Coding style fix in sys_execve()

Submitting this as a separate patch per [email protected]'s suggestion.

Signed-off-by: Meredydd Luff <[email protected]>
---
arch/um/kernel/exec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c
index 6cade93..e74ec80 100644
--- a/arch/um/kernel/exec.c
+++ b/arch/um/kernel/exec.c
@@ -80,7 +80,8 @@ long sys_execve(const char __user *file, const char __user *const __user *argv,

filename = getname(file);
error = PTR_ERR(filename);
- if (IS_ERR(filename)) goto out;
+ if (IS_ERR(filename))
+ goto out;
error = execve1(filename, argv, env);
putname(filename);
out:
--
1.7.4.1


2012-08-01 22:28:41

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] um: Coding style fix in sys_execve()

On 02.08.2012 00:23, Meredydd Luff wrote:
> Submitting this as a separate patch per [email protected]'s suggestion.
>
> Signed-off-by: Meredydd Luff <[email protected]>

Queued for 3.7.

Thanks,
//richard