All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] xen/vpci: Fix msix existing mapping printk
@ 2025-04-24 21:23 Jason Andryuk
  2025-04-25  8:36 ` Roger Pau Monné
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Andryuk @ 2025-04-24 21:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Jason Andryuk, Roger Pau Monné

The format string lacks a space, so mfn and type run together:
(XEN) d0v0 0000:06:00.7: existing mapping (mfn: 753037type: 0) at 0x1 clobbers MSIX MMIO area

Add a space.  Additionally, move the format string to a single long line
to improve grep-ability.

Fixes: 677053fac17a ("vpci/msix: carve p2m hole for MSIX MMIO regions")
Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
---
v2:
Use a single line
Add Fixes
---
 xen/drivers/vpci/msix.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/drivers/vpci/msix.c b/xen/drivers/vpci/msix.c
index f3804ce047..3568f2a651 100644
--- a/xen/drivers/vpci/msix.c
+++ b/xen/drivers/vpci/msix.c
@@ -665,8 +665,7 @@ int vpci_make_msix_hole(const struct pci_dev *pdev)
             default:
                 put_gfn(d, start);
                 gprintk(XENLOG_WARNING,
-                        "%pp: existing mapping (mfn: %" PRI_mfn
-                        "type: %d) at %#lx clobbers MSIX MMIO area\n",
+                        "%pp: existing mapping (mfn: %" PRI_mfn " type: %d) at %#lx clobbers MSIX MMIO area\n",
                         &pdev->sbdf, mfn_x(mfn), t, start);
                 return -EEXIST;
             }
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] xen/vpci: Fix msix existing mapping printk
  2025-04-24 21:23 [PATCH v2] xen/vpci: Fix msix existing mapping printk Jason Andryuk
@ 2025-04-25  8:36 ` Roger Pau Monné
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monné @ 2025-04-25  8:36 UTC (permalink / raw)
  To: Jason Andryuk; +Cc: xen-devel

On Thu, Apr 24, 2025 at 05:23:26PM -0400, Jason Andryuk wrote:
> The format string lacks a space, so mfn and type run together:
> (XEN) d0v0 0000:06:00.7: existing mapping (mfn: 753037type: 0) at 0x1 clobbers MSIX MMIO area
> 
> Add a space.  Additionally, move the format string to a single long line
> to improve grep-ability.
> 
> Fixes: 677053fac17a ("vpci/msix: carve p2m hole for MSIX MMIO regions")
> Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>

Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>

Thanks, Roger.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-25  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 21:23 [PATCH v2] xen/vpci: Fix msix existing mapping printk Jason Andryuk
2025-04-25  8:36 ` Roger Pau Monné

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.