From f0e28d48c8641beac1239e484383c2b4764b1f02 Mon Sep 17 00:00:00 2001 From: Nate Levesque Date: Sat, 21 Sep 2013 18:49:41 +0000 Subject: [PATCH] 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 Reviewed-by: Matthew Whitehead Signed-off-by: David S. Miller --- drivers/net/ethernet/amd/lance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amd/lance.c b/drivers/net/ethernet/amd/lance.c index 5c728436b85e..256f590f6bb1 100644 --- a/drivers/net/ethernet/amd/lance.c +++ b/drivers/net/ethernet/amd/lance.c @@ -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; }