Skip to content

Commit

Permalink
[POWERPC] spufs: Fix return value of spufs_mfc_write
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masato Noguchi authored and Paul Mackerras committed Dec 4, 2006
1 parent 932f535 commit 3692dc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,7 @@ static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer,
goto out;

ctx->tagwait |= 1 << cmd.tag;
ret = size;

out:
return ret;
Expand Down

0 comments on commit 3692dc6

Please sign in to comment.