xen-pciback: silence an unwanted debug printk
There is a missing curly brace here so we might print some extra debug information. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
This commit is contained in:
parent
cea37f8751
commit
c0914e6166
|
@ -217,7 +217,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev,
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
for (i = 0; i < op->value; i++) {
|
for (i = 0; i < op->value; i++) {
|
||||||
op->msix_entries[i].entry = entries[i].entry;
|
op->msix_entries[i].entry = entries[i].entry;
|
||||||
if (entries[i].vector)
|
if (entries[i].vector) {
|
||||||
op->msix_entries[i].vector =
|
op->msix_entries[i].vector =
|
||||||
xen_pirq_from_irq(entries[i].vector);
|
xen_pirq_from_irq(entries[i].vector);
|
||||||
if (unlikely(verbose_request))
|
if (unlikely(verbose_request))
|
||||||
|
@ -226,6 +226,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev,
|
||||||
pci_name(dev), i,
|
pci_name(dev), i,
|
||||||
op->msix_entries[i].vector);
|
op->msix_entries[i].vector);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
pr_warn_ratelimited("%s: error enabling MSI-X for guest %u: err %d!\n",
|
pr_warn_ratelimited("%s: error enabling MSI-X for guest %u: err %d!\n",
|
||||||
pci_name(dev), pdev->xdev->otherend_id,
|
pci_name(dev), pdev->xdev->otherend_id,
|
||||||
|
|
Loading…
Reference in New Issue