Commit 02cb6f3d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Kill warning in drivers/input/misc/uinput.c on IA64

From: Peter Chubb <peterc@gelato.unsw.edu.au>

Attached patch kills a warning when compiling on a 64-bit architecture
(ssize_t is long, not int)
parent ef628dc9
......@@ -226,7 +226,7 @@ static int uinput_alloc_device(struct file *file, const char *buffer, size_t cou
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment