lkml.org 
[lkml]   [1997]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux-2.1.62.. (busmouse patch)
On Mon, Nov 03, 1997 at 01:04:01PM -0800, Linus Torvalds wrote:
>
> Hi,
> I just made 2.1.62 available. This one should
>
> - fix some remaining NFS problems. A very big thanks to Bill Hawes who
> has been simply invaluable in finding and fixing the NFS client bugs,
> and has been willing to try out some suggestions of mine.
> - quota and isdn should compile and may even work. I don't see any reason
> why they shouldn't work, but I haven't tested them myself. Caveat
> tester.
> - removed last traces of irq2dev_map[], and the world is a better place
> for it. Thanks to Gordon Chaffee for much of this - I've wanted it
> done for a long time, but haven't been interested enough to do it
> myself.
>
> Any comments/problems?
>
This has been needed since 2.1.60

--- busmouse.c.orig Mon Nov 3 20:29:31 1997
+++ busmouse.c Mon Nov 3 20:35:49 1997
@@ -159,8 +159,8 @@
* writes are disallowed
*/

-static long write_mouse(struct inode * inode, struct file * file,
- const char * buffer, unsigned long count)
+static ssize_t write_mouse(struct file * file,
+ const char * buffer, size_t count, loff_t *ppos)
{
return -EINVAL;
}
@@ -169,8 +169,8 @@
* read mouse data. Currently never blocks.
*/

-static long read_mouse(struct inode * inode, struct file * file,
- char * buffer, unsigned long count)
+static ssize_t read_mouse(struct file * file,
+ char * buffer, size_t count, loff_t *ppos)
{
int r;
int dx;
skimo

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