Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101583
b: refs/heads/master
c: ee1a08f
h: refs/heads/master
i:
  101581: 7016cf7
  101579: 08d00bb
  101575: fc3cd8e
  101567: 25e295f
v: v3
  • Loading branch information
Roel Kluin authored and Paul Mackerras committed May 14, 2008
1 parent 330d9d2 commit acf522c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 54ef0ec22a39071a4e7fbedd201cecac9ac6e8a7
refs/heads/master: ee1a08f963c5abb5ec2d8c5defffecee7c3f84c8
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/sysdev/mpic_pasemi_msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
unsigned int virq;
struct msi_desc *entry;
struct msi_msg msg;
int ret;

pr_debug("pasemi_msi_setup_msi_irqs, pdev %p nvec %d type %d\n",
pdev, nvec, type);
Expand All @@ -108,8 +109,9 @@ static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
* few MSIs for someone, but restrictions will apply to how the
* sources can be changed independently.
*/
hwirq = mpic_msi_alloc_hwirqs(msi_mpic, ALLOC_CHUNK);
if (hwirq < 0) {
ret = mpic_msi_alloc_hwirqs(msi_mpic, ALLOC_CHUNK);
hwirq = ret;
if (ret < 0) {
pr_debug("pasemi_msi: failed allocating hwirq\n");
return hwirq;
}
Expand Down

0 comments on commit acf522c

Please sign in to comment.