[PARPORT] Bug in parport/share.c (2.4.0-test4)

From: Robert Baruch (autophile@dol.net)
Date: Sat Aug 05 2000 - 20:51:44 EDT

  • Next message: Tony Laszlo: "[PARPORT] Re: ftape with Trakker."

    Hi all,

    Sorry if you all already know this... I found a bug in
    drivers/parport/share.c vs 2.4.0-test4:

    --- share.c.orig Sat Aug 5 20:49:18 2000
    +++ share.c Fri Aug 4 15:19:11 2000
    @@ -200,7 +200,7 @@
             else {
                     spin_lock (&parportlist_lock);
                     for (i = 0, port = portlist; port && i < count;
    - port = port->next)
    + port = port->next, i++)
                             ports[i] = port;
                     spin_unlock (&parportlist_lock);
     

    --Rob

    -- 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 2b29 : Sat Aug 05 2000 - 21:17:44 EDT