diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-01-04 20:31:31 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 15:44:52 +1100 |
commit | 6ff730c33b42a6c68217fc6660728676aa8eeb9c (patch) | |
tree | 2522175fbaadd3f4d1bd433412f6bfb6e0631754 /arch/powerpc/platforms/cell/spufs/syscalls.c | |
parent | f0831acc4b78e2d9737e8ed91b8b7505b21ddb83 (diff) | |
download | op-kernel-dev-6ff730c33b42a6c68217fc6660728676aa8eeb9c.zip op-kernel-dev-6ff730c33b42a6c68217fc6660728676aa8eeb9c.tar.gz |
[PATCH] spufs: fix sparse warnings
One local variable is missing an __iomem modifier,
in another place, we pass a completely unused argument
with a missing __user modifier.
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/syscalls.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c index 0c2896a..d549aa7 100644 --- a/arch/powerpc/platforms/cell/spufs/syscalls.c +++ b/arch/powerpc/platforms/cell/spufs/syscalls.c @@ -85,7 +85,7 @@ asmlinkage long sys_spu_create(const char __user *pathname, ret = path_lookup(tmp, LOOKUP_PARENT| LOOKUP_OPEN|LOOKUP_CREATE, &nd); if (!ret) { - ret = spufs_create_thread(&nd, pathname, flags, mode); + ret = spufs_create_thread(&nd, flags, mode); path_release(&nd); } putname(tmp); |