* [patch] xen-pciback: silence an unwanted debug printk
@ 2014-03-28 8:24 Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2014-03-28 8:24 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: xen-devel, Boris Ostrovsky, Alexander Gordeev, kernel-janitors,
David Vrabel
There is a missing curly brace here so we might print some extra debug
information.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c
index 929dd46..607e414 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,
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",
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] xen-pciback: silence an unwanted debug printk
[not found] <20140328082459.GI25192@mwanda>
@ 2014-04-03 11:53 ` David Vrabel
0 siblings, 0 replies; 2+ messages in thread
From: David Vrabel @ 2014-04-03 11:53 UTC (permalink / raw)
To: Dan Carpenter
Cc: xen-devel, Boris Ostrovsky, Alexander Gordeev, kernel-janitors
On 28/03/14 08:24, Dan Carpenter wrote:
> There is a missing curly brace here so we might print some extra debug
> information.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied to devel/for-linus-3.15.
Thanks.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-03 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20140328082459.GI25192@mwanda>
2014-04-03 11:53 ` [patch] xen-pciback: silence an unwanted debug printk David Vrabel
2014-03-28 8:24 Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).