Return-Path: Message-Id: <20061120180525.031590000@arndb.de> References: <20061120174454.067872000@arndb.de> Date: Mon, 20 Nov 2006 18:45:07 +0100 From: Arnd Bergmann To: cbe-oss-dev@ozlabs.org Subject: [PATCH 13/22] spufs: fix return value of spufs_mfc_write Cc: Masato Noguchi , linuxppc-dev@ozlabs.org, Paul Mackerras , linux-kernel@vger.kernel.org, Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Masato Noguchi This patch changes spufs_mfc_write() to return correct size instead of 0. Signed-off-by: Masato Noguchi Signed-off-by: Arnd Bergmann --- arch/powerpc/platforms/cell/spufs/file.c | 1 + 1 files changed, 1 insertion(+) Index: linux-2.6.19-rc6-arnd1/arch/powerpc/platforms/cell/spufs/file.c =================================================================== --- linux-2.6.19-rc6-arnd1.orig/arch/powerpc/platforms/cell/spufs/file.c +++ linux-2.6.19-rc6-arnd1/arch/powerpc/platforms/cell/spufs/file.c @@ -1325,6 +1325,7 @@ static ssize_t spufs_mfc_write(struct fi goto out; ctx->tagwait |= 1 << cmd.tag; + ret = size; out: return ret; _______________________________________________ cbe-oss-dev mailing list cbe-oss-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/cbe-oss-dev --