[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210910122916.678625088@linuxfoundation.org>
Date: Fri, 10 Sep 2021 14:30:11 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org,
"Li Qiang (Johnny Li)" <johnny.li@...tage-tech.com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Dan Williams <dan.j.williams@...el.com>
Subject: [PATCH 5.14 21/23] cxl/pci: Fix debug message in cxl_probe_regs()
From: Li Qiang (Johnny Li) <johnny.li@...tage-tech.com>
commit da582aa5ad5787c46e3f475ab3f4602ec84c1617 upstream.
Indicator string for mbox and memdev register set to status
incorrectly in error message.
Cc: <stable@...r.kernel.org>
Fixes: 30af97296f48 ("cxl/pci: Map registers based on capabilities")
Signed-off-by: Li Qiang (Johnny Li) <johnny.li@...tage-tech.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Link: https://lore.kernel.org/r/163072205089.2250120.8103605864156687395.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@...el.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/cxl/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/cxl/pci.c
+++ b/drivers/cxl/pci.c
@@ -1022,8 +1022,8 @@ static int cxl_probe_regs(struct cxl_mem
!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;
}
Powered by blists - more mailing lists