Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Fri, 22 Aug 2003 23:05:09 -0700 | From | "Randy.Dunlap" <> | Subject | [PATCH] eliminate type warnings in jffs |
| |
patch_name: jffs_fntypes.patch patch_version: 2003-08-22.22:57:20 author: Randy.Dunlap <rddunlap@osdl.org> description: eliminate warning: initialization from incompatible pointer type (2 times) product: Linux product_versions: 260-test4 maintainer: jffs-dev@axis.com 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |