summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2006-02-01 03:06:29 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-01 08:53:23 -0800
commit42947cb98fd16bff21e0000a974ff6bd1e620cd4 (patch)
tree5f5892c860c97b58a69ab97303d0cacc5c67d78a /arch/um/kernel
parent4cd7ed94428babb0cdbf08cc14c257e223186079 (diff)
downloadtalos-obmc-linux-42947cb98fd16bff21e0000a974ff6bd1e620cd4.tar.gz
talos-obmc-linux-42947cb98fd16bff21e0000a974ff6bd1e620cd4.zip
[PATCH] uml: some harmless sparse warning fixes
Fix some simple sparse warnings - a lot more staticness and a misplaced __user. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/exec_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/exec_kern.c b/arch/um/kernel/exec_kern.c
index 569fe8b9b053..c264e1c05ab3 100644
--- a/arch/um/kernel/exec_kern.c
+++ b/arch/um/kernel/exec_kern.c
@@ -33,7 +33,7 @@ void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
extern void log_exec(char **argv, void *tty);
static long execve1(char *file, char __user * __user *argv,
- char *__user __user *env)
+ char __user *__user *env)
{
long error;
OpenPOWER on IntegriCloud