Skip to contentSkip to conversation

missing rio_spin_unlock_irqrestore in rioroute.c (244ac18)

PATCH New Rasmus Andersen 1 participant 1 message May 27, 2001 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 missing rio_spin_unlock_irqrestore in rioroute.c (244ac18)

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

----- Forwarded message from Rasmus Andersen <[email protected]> -----

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.

drivers/char/rio/rioroute.c +1 -0
@@ -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;
 			}
 
Signature · 8 lines
Regards,
        Rasmus([email protected])

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 -----