Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348626
b: refs/heads/master
c: cb59c87
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek authored and David S. Miller committed Jan 10, 2013
1 parent 4dee31f commit 421b653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94b144a7799e9150ae871330b9b9d8e30401220e
refs/heads/master: cb59c87dbc8be2ffa692c50bd22f89025ba7a342
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ static int axienet_of_probe(struct platform_device *op)
lp->rx_irq = irq_of_parse_and_map(np, 1);
lp->tx_irq = irq_of_parse_and_map(np, 0);
of_node_put(np);
if ((lp->rx_irq == NO_IRQ) || (lp->tx_irq == NO_IRQ)) {
if ((lp->rx_irq <= 0) || (lp->tx_irq <= 0)) {
dev_err(&op->dev, "could not determine irqs\n");
ret = -ENOMEM;
goto err_iounmap_2;
Expand Down

0 comments on commit 421b653

Please sign in to comment.