[PATCH] missing rio_spin_unlock_irqrestore in rioroute.c (244ac18)

From: Rasmus Andersen (rasmus@jaquet.dk)
Date: Sun May 27 2001 - 14:39:43 EST


<sigh> Forgot l-k when sending this off..

----- Forwarded message from Rasmus Andersen <rasmus@jaquet.dk> -----

Hi.

The following patch fixes a missing rio_spin_unlock_irqrestore
in drivers/char/rio/rioroute.c as per the stanford team's
report a way back. It applies against 244ac18.

--- linux-244-ac18-clean/drivers/char/rio/rioroute.c Sat May 19 20:58:18 2001
+++ linux-244-ac18/drivers/char/rio/rioroute.c Sun May 27 20:46:34 2001
@@ -657,6 +657,7 @@
                         */
                         if (PortP->TxStart == 0) {
                                         rio_dprintk (RIO_DEBUG_ROUTE, "Tx pkts not set up yet\n");
+ rio_spin_unlock_irqrestore(&PortP->portSem, flags);
                                         break;
                         }
 

-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

While the Melissa license is a bit unclear, Melissa aggressively encourages free distribution of its source code. -- Kevin Dalley on Melissa being Open Source

----- End forwarded message ----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:34 EST