This looks like the correct thing to fix all the kill_fasync spew with
usb mice. Sorry if it's a repeat of some other fix, but I didn't see a
mention in the last linux-kernel digest I got.
--- mousedev.c Tue Jun 20 22:13:10 2000
+++ /usr/src/linux/drivers/usb/mousedev.c Tue Jun 20 22:21:57 2000
@@ -138,7 +138,7 @@
list->ready = 1;
- kill_fasync(list->fasync, SIGIO, POLL_IN);
+ kill_fasync(&list->fasync, SIGIO, POLL_IN);
list = list->next;
}
@@ -305,7 +305,7 @@
list->buffer = list->bufsiz;
}
- kill_fasync(list->fasync, SIGIO, POLL_IN);
+ kill_fasync(&list->fasync, SIGIO, POLL_IN);
wake_up_interruptible(&list->mousedev->wait);
later,
-- Kimball mailto:kimball@sgrail.com --------------- Efficiency is intelligent laziness. - D. Dunham- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:21 EST