Fix hardcoded interrupt name lp->name to use system device value
Subsystems (2)
The lance interrupt handler was using the hard-coded name which would make it difficult to tell where the interrupt came from. Changed to use the device name that made the interrupt.
--- drivers/net/ethernet/amd/lance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/amd/lance.c +1 -1
@@ -754,7 +754,7 @@ lance_open(struct net_device *dev)int i;if (dev->irq ==0 || -request_irq (dev->irq, lance_interrupt,0 , lp->name, dev)) { +request_irq (dev->irq, lance_interrupt,0 , dev->name, dev)) {return -EAGAIN ; }
Signature · 1 line
1.8.1.2
Matthew Whitehead
Reviewed-byQuoted 27 lines · Nate Levesque
The lance interrupt handler was using the hard-coded name which would make it difficult to tell where the interrupt came from. Changed to use the device name that made the interrupt.
Signed-off-by Nate Levesque <[email protected]>--- drivers/net/ethernet/amd/lance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/amd/lance.c +1
-1@@ -754,7 +754,7 @@ lance_open(struct net_device *dev)int i;if (dev->irq ==0 || -request_irq (dev->irq, lance_interrupt,0 , lp->name, dev)) { +request_irq (dev->irq, lance_interrupt,0 , dev->name, dev)) {return -EAGAIN ; }Signature · 6 lines
1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerFrom: Matthew Whitehead <[email protected]>
Date: Sun, 22 Sep 2013 22:25:33 -0400
Quoted 24 lines · Nate Levesque
Quoted 23 lines
The lance interrupt handler was using the hard-coded name which would make it difficult to tell where the interrupt came from. Changed to use the device name that made the interrupt.
Signed-off-by Nate Levesque <[email protected]>--- drivers/net/ethernet/amd/lance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/amd/lance.c +1
-1@@ -754,7 +754,7 @@ lance_open(struct net_device *dev)int i;if (dev->irq ==0 || -request_irq (dev->irq, lance_interrupt,0 , lp->name, dev)) { +request_irq (dev->irq, lance_interrupt,0 , dev->name, dev)) {return -EAGAIN ; }Signature · 1 line
1.8.1.2
Quoted 6 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlReviewed-by Matthew Whitehead <[email protected]>
Applied but please use a more appriate subsystem prefix in your Subject lines, in this case you could say "lance: " after "[net-next] "