lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] um: Coding style fix in sys_execve()
Date
Submitting this as a separate patch per richard@nod.at's suggestion.

Signed-off-by: Meredydd Luff <meredydd@senatehouse.org>
---
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


\
 
 \ /
  Last update: 2012-08-02 01:01    [W:0.030 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site