From: Nate Levesque Date: Sat, 21 Sep 2013 18:49:41 +0000 (+0000) Subject: lance: Fix hardcoded interrupt name lp->name to use system device value X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f0e28d48c8641beac1239e484383c2b4764b1f02;p=linux-beck.git 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 --- 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; }