aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMasato Noguchi <Masato.Noguchi@jp.sony.com>2006-11-20 12:45:07 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-04 04:40:01 -0500
commit3692dc66149dc17cd82ec785a06478322c0eddff (patch)
treef74db54d0f60f58344a7a81cdf819c10030b992c /arch
parent932f535dd4c83dc3eb631c2cee1dfd6ae289b88c (diff)
[POWERPC] spufs: Fix return value of spufs_mfc_write
This patch changes spufs_mfc_write() to return correct size instead of 0. Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index 1c1af71d19cb..e6667530332b 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -1279,6 +1279,7 @@ static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer,
1279 goto out; 1279 goto out;
1280 1280
1281 ctx->tagwait |= 1 << cmd.tag; 1281 ctx->tagwait |= 1 << cmd.tag;
1282 ret = size;
1282 1283
1283out: 1284out:
1284 return ret; 1285 return ret;