Skip to content

Commit 307fc4d

Browse files
citruspidavem330
authored andcommitted
hp100: replace hardcoded name in /proc/interrupts with interface name
The /proc/interrupts file displays hp100, which is not the accepted style. Printing eth%d is more helpful. Signed-off-by: Mihir Singh <[email protected]> Reviewed-By: Matthew Whitehead <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0a67d3e commit 307fc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/hp/hp100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ static int hp100_open(struct net_device *dev)
10981098
if (request_irq(dev->irq, hp100_interrupt,
10991099
lp->bus == HP100_BUS_PCI || lp->bus ==
11001100
HP100_BUS_EISA ? IRQF_SHARED : 0,
1101-
"hp100", dev)) {
1101+
dev->name, dev)) {
11021102
printk("hp100: %s: unable to get IRQ %d\n", dev->name, dev->irq);
11031103
return -EAGAIN;
11041104
}

0 commit comments

Comments
 (0)