+ smc911x-re-release-spinlock-on-spurious-interrupt.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     smc911x: Re-release spinlock on spurious interrupt

has been added to the -mm tree.  Its filename is

     smc911x-re-release-spinlock-on-spurious-interrupt.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: smc911x: Re-release spinlock on spurious interrupt
From: Peter Korsgaard <jacmet@xxxxxxxxxx>

The smc911x driver forgets to release the spinlock on spurious interrupts. 
This little patch fixes it.

Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/smc911x.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/smc911x.c~smc911x-re-release-spinlock-on-spurious-interrupt drivers/net/smc911x.c
--- a/drivers/net/smc911x.c~smc911x-re-release-spinlock-on-spurious-interrupt
+++ a/drivers/net/smc911x.c
@@ -1092,6 +1092,7 @@ static irqreturn_t smc911x_interrupt(int
 	/* Spurious interrupt check */
 	if ((SMC_GET_IRQ_CFG() & (INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) !=
 		(INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) {
+		spin_unlock_irqrestore(&lp->lock, flags);
 		return IRQ_NONE;
 	}
 
_

Patches currently in -mm which might be from jacmet@xxxxxxxxxx are

fix-ppc32-zimage-inflate.patch
smc911x-re-release-spinlock-on-spurious-interrupt.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux