diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-31 05:30:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 15:18:51 -0500 |
commit | 4d338e1accfc3473f7e453427dfd4f1ebf4dbbe6 (patch) | |
tree | ac6559e533cd4720b5c5b13119b3d10f0ab8b51d /arch/um/kernel/exec_kern.c | |
parent | 694a464e19b9e3278dbaf6a09fa7c1efec3f8eb5 (diff) |
[PATCH] uml: sparse cleanups
misc sparse annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel/exec_kern.c')
-rw-r--r-- | arch/um/kernel/exec_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/exec_kern.c b/arch/um/kernel/exec_kern.c index 1ca84319317d..f9b346e05b00 100644 --- a/arch/um/kernel/exec_kern.c +++ b/arch/um/kernel/exec_kern.c | |||
@@ -58,14 +58,14 @@ long um_execve(char *file, char __user *__user *argv, char __user *__user *env) | |||
58 | return(err); | 58 | return(err); |
59 | } | 59 | } |
60 | 60 | ||
61 | long sys_execve(char *file, char __user *__user *argv, | 61 | long sys_execve(char __user *file, char __user *__user *argv, |
62 | char __user *__user *env) | 62 | char __user *__user *env) |
63 | { | 63 | { |
64 | long error; | 64 | long error; |
65 | char *filename; | 65 | char *filename; |
66 | 66 | ||
67 | lock_kernel(); | 67 | lock_kernel(); |
68 | filename = getname((char __user *) file); | 68 | filename = getname(file); |
69 | error = PTR_ERR(filename); | 69 | error = PTR_ERR(filename); |
70 | if (IS_ERR(filename)) goto out; | 70 | if (IS_ERR(filename)) goto out; |
71 | error = execve1(filename, argv, env); | 71 | error = execve1(filename, argv, env); |