[PATCH] eliminate type warnings in jffs

"Randy.Dunlap" <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.file-systems.jffs
Organization OSDL
Message-ID <[email protected]>

patch_name:	jffs_fntypes.patch
patch_version:	2003-08-22.22:57:20
author:		Randy.Dunlap <[email protected]>
description:	eliminate warning: initialization from incompatible
		pointer type (2 times)
product:	Linux
product_versions: 260-test4
maintainer:	[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.