[PATCH] eliminate type warnings in jffs

From: Randy.Dunlap
Date: Sat Aug 23 2003 - 01:12:22 EST




patch_name: jffs_fntypes.patch
patch_version: 2003-08-22.22:57:20
author: Randy.Dunlap <rddunlap@xxxxxxxx>
description: eliminate warning: initialization from incompatible
pointer type (2 times)
product: Linux
product_versions: 260-test4
maintainer: jffs-dev@xxxxxxxx
diffstat: =
fs/jffs/inode-v23.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Naur ./fs/jffs/inode-v23.c~fntypes ./fs/jffs/inode-v23.c
--- ./fs/jffs/inode-v23.c~fntypes Fri Aug 22 16:57:08 2003
+++ ./fs/jffs/inode-v23.c Fri Aug 22 22:43:45 2003
@@ -1530,7 +1530,7 @@
return err;
} /* jffs_file_write() */

-static ssize_t
+static int
jffs_prepare_write(struct file *filp, struct page *page,
unsigned from, unsigned to)
{
@@ -1543,7 +1543,7 @@
return 0;
} /* jffs_prepare_write() */

-static ssize_t
+static int
jffs_commit_write(struct file *filp, struct page *page,
unsigned from, unsigned to)
{


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/