Tim Waugh (tim@cyberelk.demon.co.uk)
Fri, 2 Jan 1998 13:56:32 +0000 (GMT)
This patch reduces the warnings to just:
lp0: using parport0 (polling).
ppa: Version 1.39a
[...]
sda: Write Protect is off
 sdb:<6>lp0 out of paper
 sdb4
[...]
parport0: lp tried to release parport when not owner
lp0 out of paper
lp0 out of paper
parport0: lp tried to release parport when not owner
Releasing ppa0
--- parport_share.c~	Fri Jan  2 13:51:12 1998
+++ parport_share.c	Fri Jan  2 13:51:15 1998
@@ -375,6 +375,7 @@
                         atomic_set(&port->waiters, 0);
                 } else {
                         oldest->waiting = 0;
+			atomic_dec(&port->waiters);
                         if (waitqueue_active(&oldest->wait_q))
                                 wake_up(&oldest->wait_q);
                         return;
Tim.
*/
--  To unsubscribe, send mail to: linux-parport-request@torque.net --
--  with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:17 EST