lkml.org 
[lkml]   [2003]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.020 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site