Skip to content

Commit f0e28d4

Browse files
thenaterhooddavem330
authored andcommitted
lance: Fix hardcoded interrupt name lp->name to use system device value
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]> Reviewed-by: Matthew Whitehead <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 307fc4d commit f0e28d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amd/lance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ lance_open(struct net_device *dev)
754754
int i;
755755

756756
if (dev->irq == 0 ||
757-
request_irq(dev->irq, lance_interrupt, 0, lp->name, dev)) {
757+
request_irq(dev->irq, lance_interrupt, 0, dev->name, dev)) {
758758
return -EAGAIN;
759759
}
760760

0 commit comments

Comments
 (0)