projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e56614
)
cxl/pci: Fix debug message in cxl_probe_regs()
author
Li Qiang (Johnny Li)
<johnny.li@montage-tech.com>
Sat, 4 Sep 2021 02:20:50 +0000
(19:20 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Tue, 7 Sep 2021 18:39:01 +0000
(11:39 -0700)
Indicator string for mbox and memdev register set to status
incorrectly in error message.
Cc: <stable@vger.kernel.org>
Fixes: 30af97296f48 ("cxl/pci: Map registers based on capabilities")
Signed-off-by: Li Qiang (Johnny Li) <johnny.li@montage-tech.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.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@intel.com>
drivers/cxl/pci.c
patch
|
blob
|
history
diff --git
a/drivers/cxl/pci.c
b/drivers/cxl/pci.c
index 37903259ee79dac9e21eef4dfc5004ee0a065bf3..8e45aa07d662f45b86fb11294ec730ad8c66103f 100644
(file)
--- a/
drivers/cxl/pci.c
+++ b/
drivers/cxl/pci.c
@@
-1041,8
+1041,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;
}