xen-pciback: silence an unwanted debug printk
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Mar 2014 08:24:59 +0000 (11:24 +0300)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 15 Apr 2014 16:41:12 +0000 (17:41 +0100)
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>
drivers/xen/xen-pciback/pciback_ops.c

index 929dd46bb40c5a85fd1df9a47087896011ec0d86..607e41460c0d7ef0dcea4e8702eab0ec3e1cdf8a 100644 (file)
@@ -217,7 +217,7 @@ 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))
@@ -225,6 +225,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev,
                                                "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",