Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119466
b: refs/heads/master
c: 4b824de
h: refs/heads/master
v: v3
  • Loading branch information
Adhemerval Zanella authored and Paul Mackerras committed Nov 30, 2008
1 parent 610c9d8 commit 956819f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 3f9b5d4dda6d85aab33fef32e8351ddc34c81fb4
refs/heads/master: 4b824de9b18b8d1013e9fc9e4b0f855ced8cac2c
7 changes: 5 additions & 2 deletions trunk/arch/powerpc/kernel/prom_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,11 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
* parsing
*/
dn = pci_device_to_OF_node(pdev);
if (dn)
return of_irq_map_one(dn, 0, out_irq);
if (dn) {
rc = of_irq_map_one(dn, 0, out_irq);
if (!rc)
return rc;
}

/* Ok, we don't, time to have fun. Let's start by building up an
* interrupt spec. we assume #interrupt-cells is 1, which is standard
Expand Down

0 comments on commit 956819f

Please sign in to comment.