summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/process.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-10-26 20:06:07 +0400
committerKyle McMartin <kyle@ubuntu.com>2006-12-08 08:34:33 +0300
commitc2c4798e04ef836b12f5df04e7d1a1710cb39301 (patch)
tree244ce029f8032150523d91e83c14874dba1a13e7 /arch/parisc/kernel/process.c
parent423c8ece2941a7ee9b003564d5aab789b9b330d8 (diff)
downloadlinux-c2c4798e04ef836b12f5df04e7d1a1710cb39301.tar.xz
[PARISC] sparse fixes
0/NULL, missing __user, missing __iomem, non-ANSI prototype. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r--arch/parisc/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 2f9f9dfa66f7..dfca014b49ba 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -355,8 +355,8 @@ asmlinkage int sys_execve(struct pt_regs *regs)
error = PTR_ERR(filename);
if (IS_ERR(filename))
goto out;
- error = do_execve(filename, (char __user **) regs->gr[25],
- (char __user **) regs->gr[24], regs);
+ error = do_execve(filename, (char __user * __user *) regs->gr[25],
+ (char __user * __user *) regs->gr[24], regs);
if (error == 0) {
task_lock(current);
current->ptrace &= ~PT_DTRACE;