Skip to contentSkip to conversation

eliminate type warnings in jffs

PATCH New Randy.Dunlap 1 participant 1 message Aug 23, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eliminate type warnings in jffs

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(-)
fs/jffs/inode-v23.c renamed from fs/jffs/inode-v23.c~fntypes +2 -2
diff -Naur ./fs/jffs/inode-v23.c~fntypes ./fs/jffs/inode-v23.c
@@ -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