Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42752
b: refs/heads/master
c: 1ecb9c0
h: refs/heads/master
v: v3
  • Loading branch information
Mike Miller authored and Linus Torvalds committed Dec 7, 2006
1 parent a78ab00 commit 3905d64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 799202cbd0ef6a201446d99fcbd78b9f0bda6ae5
refs/heads/master: 1ecb9c0f3c9ef6af77c39a9f584940691847ccf4
8 changes: 3 additions & 5 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -2788,23 +2788,21 @@ static void __devinit cciss_interrupt_mode(ctlr_info_t *c,
if (err > 0) {
printk(KERN_WARNING "cciss: only %d MSI-X vectors "
"available\n", err);
goto default_int_mode;
} else {
printk(KERN_WARNING "cciss: MSI-X init failed %d\n",
err);
goto default_int_mode;
}
}
if (pci_find_capability(pdev, PCI_CAP_ID_MSI)) {
if (!pci_enable_msi(pdev)) {
c->intr[SIMPLE_MODE_INT] = pdev->irq;
c->msi_vector = 1;
return;
} else {
printk(KERN_WARNING "cciss: MSI init failed\n");
c->intr[SIMPLE_MODE_INT] = pdev->irq;
return;
}
}
default_int_mode:
default_int_mode:
#endif /* CONFIG_PCI_MSI */
/* if we get here we're going to use the default interrupt mode */
c->intr[SIMPLE_MODE_INT] = pdev->irq;
Expand Down

0 comments on commit 3905d64

Please sign in to comment.