mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm@osdl.org, jffs-dev@axis.com
Subject: [PATCH] eliminate type warnings in jffs
Date: Fri, 22 Aug 2003 23:05:09 -0700	[thread overview]
Message-ID: <20030822230509.053c2985.rddunlap@osdl.org> (raw)



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

                 reply	other threads:[~2003-08-23  6:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030822230509.053c2985.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --cc=jffs-dev@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®