projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b3397e
)
skge: remove redundunt free_irq under spinlock
author
Stephen Hemminger
<
[email protected]
>
Tue, 12 Dec 2017 18:30:29 +0000
(10:30 -0800)
committer
David S. Miller
<
[email protected]
>
Wed, 13 Dec 2017 20:47:00 +0000
(15:47 -0500)
The code to handle multi-port SKGE boards was freeing IRQ
twice. The first one was under lock and might sleep.
Signed-off-by: Stephen Hemminger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/skge.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/skge.c
b/drivers/net/ethernet/marvell/skge.c
index 6e423f098a60d33f96678ef5c08b1b52cbe3287f..31efc47c847eaf555d3c54b7a754a83c5e4f8d9b 100644
(file)
--- a/
drivers/net/ethernet/marvell/skge.c
+++ b/
drivers/net/ethernet/marvell/skge.c
@@
-4081,7
+4081,6
@@
static void skge_remove(struct pci_dev *pdev)
if (hw->ports > 1) {
skge_write32(hw, B0_IMSK, 0);
skge_read32(hw, B0_IMSK);
- free_irq(pdev->irq, hw);
}
spin_unlock_irq(&hw->hw_lock);