linux-cxl.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] cxl/pci: Fix debug message in cxl_probe_regs()
@ 2021-08-11 19:47 Li Qiang (Johnny Li)
  2021-08-11 15:38 ` Dan Williams
  0 siblings, 1 reply; 10+ messages in thread
From: Li Qiang (Johnny Li) @ 2021-08-11 19:47 UTC (permalink / raw)
  To: linux-cxl
  Cc: ira.weiny, dan.j.williams, ben.widawsky, Jonathan.Cameron,
	Li Qiang (Johnny Li)

Indicator string for mbox and memdev register set to status
incorrectly in error message.

Signed-off-by: Li Qiang (Johnny Li) <johnny.li@montage-tech.com>
---
 drivers/cxl/pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c
index 47315bb2db10..70e80237865c 100644
--- a/drivers/cxl/pci.c
+++ b/drivers/cxl/pci.c
@@ -1032,8 +1032,8 @@ static int cxl_probe_regs(struct cxl_mem *cxlm, void __iomem *base,
 		    !dev_map->memdev.valid) {
 			dev_err(dev, "registers not found: %s%s%s\n",
 				!dev_map->status.valid ? "status " : "",
-				!dev_map->mbox.valid ? "status " : "",
-				!dev_map->memdev.valid ? "status " : "");
+				!dev_map->mbox.valid ? "mbox " : "",
+				!dev_map->memdev.valid ? "memdev " : "");
 			return -ENXIO;
 		}
 
-- 
2.17.1




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

end of thread, other threads:[~2021-08-17  3:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 19:47 [PATCH v1] cxl/pci: Fix debug message in cxl_probe_regs() Li Qiang (Johnny Li)
2021-08-11 15:38 ` Dan Williams
2021-08-11 16:35   ` CXL Hot and Warm Reset Testing Chris Browy
2021-08-12  1:08     ` Dan Williams
2021-08-13 17:01       ` Vikram Sethi
2021-08-13 17:14         ` Bjorn Helgaas
2021-08-13 21:27           ` Dan Williams
2021-08-17  3:03             ` Vikram Sethi
2021-08-14 11:16           ` Amey Narkhede
2021-08-14 19:47             ` Dan Williams

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).