public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Chubb <peterc@gelato.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Kill warning in drivers/input/misc/uinput.c on IA64 (2.6.0)
Date: Mon, 11 Aug 2003 02:10:45 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106056819032612@msgid-missing> (raw)


Hi Vojtech,
   Attached patch kills a warning when compiling on a 64-bit
architecture (ssize_t is long, not int)

=== drivers/input/misc/uinput.c 1.11 vs edited ==--- 1.11/drivers/input/misc/uinput.c	Sat Jun 21 21:42:40 2003
+++ edited/drivers/input/misc/uinput.c	Thu Aug  7 11:56:12 2003
@@ -226,7 +226,7 @@
 	return retval;
 }
 
-static int uinput_write(struct file *file, const char *buffer, size_t count, loff_t *ppos)
+static ssize_t uinput_write(struct file *file, const char *buffer, size_t count, loff_t *ppos)
 {
 	struct uinput_device	*udev = file->private_data;
 	

--
Dr Peter Chubb     http://www.gelato.unsw.edu.au  peterc@gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories,   all slightly different.


                 reply	other threads:[~2003-08-11  2:10 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=marc-linux-ia64-106056819032612@msgid-missing \
    --to=peterc@gelato.unsw.edu.au \
    --cc=linux-ia64@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