Date: Thu, 6 Nov 1997 09:14:56 +0100
From: Jes Sorensen <Jes.Sorensen@cern.ch>
To: linux-m68k@lists.linux-m68k.org
Subject: L68K: The .61 mouse
Sender: owner-linux-m68k@phil.uni-sb.de

Hi

I am surprised people didn't complain about this one .....

Jes

--- /data/tmp/linux-2.1.61/drivers/char/amigamouse.c	Mon Oct 27 13:44:05 1997
+++ drivers/char/amigamouse.c	Thu Nov  6 09:03:30 1997
@@ -267,9 +267,9 @@
 	mouse.ready = 0;
 	MSE_INT_ON();
 
-	if ((put_user(buttons | 0x80, buffer)) ||
-	    put_user((char)dx, buffer + 1) ||
-	    put_user((char)dy, buffer + 2))
+	if ((put_user(buttons | 0x80, buffer++)) ||
+	    put_user((char)dx, buffer++) ||
+	    put_user((char)dy, buffer++))
 		return -EINVAL;
 
 	if (count > 3)
