diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-28 04:24:59 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-04-15 12:41:12 -0400 |
commit | c0914e61660fa7d501ef9394b26f4847ef3dc98e (patch) | |
tree | c1fe1638e0e82d5d1d77b4179a02f1c6eff44796 /drivers/xen | |
parent | cea37f87519ca3172a4e8ddd3ffcd2b4232b341f (diff) |
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>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/xen-pciback/pciback_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c index 929dd46bb40c..607e41460c0d 100644 --- a/drivers/xen/xen-pciback/pciback_ops.c +++ b/drivers/xen/xen-pciback/pciback_ops.c | |||
@@ -217,7 +217,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, | |||
217 | if (result == 0) { | 217 | if (result == 0) { |
218 | for (i = 0; i < op->value; i++) { | 218 | for (i = 0; i < op->value; i++) { |
219 | op->msix_entries[i].entry = entries[i].entry; | 219 | op->msix_entries[i].entry = entries[i].entry; |
220 | if (entries[i].vector) | 220 | if (entries[i].vector) { |
221 | op->msix_entries[i].vector = | 221 | op->msix_entries[i].vector = |
222 | xen_pirq_from_irq(entries[i].vector); | 222 | xen_pirq_from_irq(entries[i].vector); |
223 | if (unlikely(verbose_request)) | 223 | if (unlikely(verbose_request)) |
@@ -225,6 +225,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, | |||
225 | "MSI-X[%d]: %d\n", | 225 | "MSI-X[%d]: %d\n", |
226 | pci_name(dev), i, | 226 | pci_name(dev), i, |
227 | op->msix_entries[i].vector); | 227 | op->msix_entries[i].vector); |
228 | } | ||
228 | } | 229 | } |
229 | } else | 230 | } else |
230 | pr_warn_ratelimited("%s: error enabling MSI-X for guest %u: err %d!\n", | 231 | pr_warn_ratelimited("%s: error enabling MSI-X for guest %u: err %d!\n", |