lkml.org 
[lkml]   [2003]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectKill warning in drivers/input/misc/uinput.c on IA64 (2.6.0)

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.

-
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:47    [W:0.027 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site