Skip to content

Commit

Permalink
xen-pciback: silence an unwanted debug printk
Browse files Browse the repository at this point in the history
There is a missing curly brace here so we might print some extra debug
information.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David Vrabel <[email protected]>
  • Loading branch information
Dan Carpenter authored and David Vrabel committed Apr 15, 2014
1 parent cea37f8 commit c0914e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/xen/xen-pciback/pciback_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,15 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev,
if (result == 0) {
for (i = 0; i < op->value; i++) {
op->msix_entries[i].entry = entries[i].entry;
if (entries[i].vector)
if (entries[i].vector) {
op->msix_entries[i].vector =
xen_pirq_from_irq(entries[i].vector);
if (unlikely(verbose_request))
printk(KERN_DEBUG DRV_NAME ": %s: " \
"MSI-X[%d]: %d\n",
pci_name(dev), i,
op->msix_entries[i].vector);
}
}
} else
pr_warn_ratelimited("%s: error enabling MSI-X for guest %u: err %d!\n",
Expand Down

0 comments on commit c0914e6

Please sign in to comment.