public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pci: endpoint: pci-epf-vntb: fix num_mws in error message
@ 2026-02-05 11:30 Alok Tiwari
  2026-02-06  8:35 ` Niklas Cassel
  0 siblings, 1 reply; 3+ messages in thread
From: Alok Tiwari @ 2026-02-05 11:30 UTC (permalink / raw)
  To: jdmason, dave.jiang, allenbh, mani, kwilczynski, kishon, bhelgaas,
	ntb, linux-pci
  Cc: alok.a.tiwarilinux, alok.a.tiwari

Correct the error message that incorrectly prints "num_nws" instead of
"num_mws".

No functional change intended.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
 drivers/pci/endpoint/functions/pci-epf-vntb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c
index 20a400e83439..c2fd31473f2e 100644
--- a/drivers/pci/endpoint/functions/pci-epf-vntb.c
+++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c
@@ -1001,7 +1001,7 @@ static ssize_t epf_ntb_##_name##_show(struct config_item *item,		\
 		return -EINVAL;						\
 									\
 	if (win_no <= 0 || win_no > ntb->num_mws) {			\
-		dev_err(dev, "Invalid num_nws: %d value\n", ntb->num_mws); \
+		dev_err(dev, "Invalid num_mws: %d value\n", ntb->num_mws); \
 		return -EINVAL;						\
 	}								\
 									\
@@ -1027,7 +1027,7 @@ static ssize_t epf_ntb_##_name##_store(struct config_item *item,	\
 		return -EINVAL;						\
 									\
 	if (win_no <= 0 || win_no > ntb->num_mws) {			\
-		dev_err(dev, "Invalid num_nws: %d value\n", ntb->num_mws); \
+		dev_err(dev, "Invalid num_mws: %d value\n", ntb->num_mws); \
 		return -EINVAL;						\
 	}								\
 									\
-- 
2.50.1


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

* Re: [PATCH] pci: endpoint: pci-epf-vntb: fix num_mws in error message
  2026-02-05 11:30 [PATCH] pci: endpoint: pci-epf-vntb: fix num_mws in error message Alok Tiwari
@ 2026-02-06  8:35 ` Niklas Cassel
  2026-02-10  2:34   ` Koichiro Den
  0 siblings, 1 reply; 3+ messages in thread
From: Niklas Cassel @ 2026-02-06  8:35 UTC (permalink / raw)
  To: Alok Tiwari
  Cc: jdmason, dave.jiang, allenbh, mani, kwilczynski, kishon, bhelgaas,
	ntb, linux-pci, alok.a.tiwarilinux

On Thu, Feb 05, 2026 at 03:30:37AM -0800, Alok Tiwari wrote:
> Correct the error message that incorrectly prints "num_nws" instead of
> "num_mws".
> 
> No functional change intended.
> 
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> ---

Reviewed-by: Niklas Cassel <cassel@kernel.org>

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

* Re: [PATCH] pci: endpoint: pci-epf-vntb: fix num_mws in error message
  2026-02-06  8:35 ` Niklas Cassel
@ 2026-02-10  2:34   ` Koichiro Den
  0 siblings, 0 replies; 3+ messages in thread
From: Koichiro Den @ 2026-02-10  2:34 UTC (permalink / raw)
  To: Niklas Cassel
  Cc: Alok Tiwari, jdmason, dave.jiang, allenbh, mani, kwilczynski,
	kishon, bhelgaas, ntb, linux-pci, alok.a.tiwarilinux

On Fri, Feb 06, 2026 at 09:35:34AM +0100, Niklas Cassel wrote:
> On Thu, Feb 05, 2026 at 03:30:37AM -0800, Alok Tiwari wrote:
> > Correct the error message that incorrectly prints "num_nws" instead of
> > "num_mws".
> > 
> > No functional change intended.
> > 
> > Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> > ---
> 
> Reviewed-by: Niklas Cassel <cassel@kernel.org>
> 

Just for reference, there is an earlier submission that fixes the same
issue and has already received a Reviewed-by from Frank:
https://lore.kernel.org/ntb/20260105075606.1253697-1-den@valinux.co.jp/
I'm happy with either patch being picked up.

Koichiro

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

end of thread, other threads:[~2026-02-10  2:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 11:30 [PATCH] pci: endpoint: pci-epf-vntb: fix num_mws in error message Alok Tiwari
2026-02-06  8:35 ` Niklas Cassel
2026-02-10  2:34   ` Koichiro Den

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox