提交 6fc4adca 编写于 作者: S Simon Marchi 提交者: David S. Miller

tilegx: request_irq with a non-null device name

This patch simply makes the tilegx net driver call request_irq with a
non-null name. It makes the output in /proc/interrupts more obvious, but
also helps tools that don't expect to find null there.
Signed-off-by: NSimon Marchi <simon.marchi@polymtl.ca>
Acked-by: NChris Metcalf <cmetcalf@tilera.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a652208e
...@@ -917,7 +917,7 @@ static int tile_net_setup_interrupts(struct net_device *dev) ...@@ -917,7 +917,7 @@ static int tile_net_setup_interrupts(struct net_device *dev)
ingress_irq = rc; ingress_irq = rc;
tile_irq_activate(ingress_irq, TILE_IRQ_PERCPU); tile_irq_activate(ingress_irq, TILE_IRQ_PERCPU);
rc = request_irq(ingress_irq, tile_net_handle_ingress_irq, rc = request_irq(ingress_irq, tile_net_handle_ingress_irq,
0, NULL, NULL); 0, "tile_net", NULL);
if (rc != 0) { if (rc != 0) {
netdev_err(dev, "request_irq failed: %d\n", rc); netdev_err(dev, "request_irq failed: %d\n", rc);
destroy_irq(ingress_irq); destroy_irq(ingress_irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册