Skip to contentSkip to conversation

cxl/pci: Fix debug message

PATCH In review Ben Widawsky 2 participants 2 messages Jul 14, 2021 CXL

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxl/pci: Fix debug message

When mapping a register, the debug message should use the verb 'map' not 'probe'.

---
 drivers/cxl/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cxl/pci.c +1 -1
index 4cf351a3cf99..fe240e1504d5 100644
@@ -1048,7 +1048,7 @@ static int cxl_map_regs(struct cxl_mem *cxlm, struct cxl_register_map *map)
 		break;
 	case CXL_REGLOC_RBI_MEMDEV:
 		cxl_map_device_regs(pdev, &cxlm->regs.device_regs, map);
-		dev_dbg(dev, "Probing device registers...\n");
+		dev_dbg(dev, "Mapping device registers...\n");
 		break;
 	default:
 		break;
Signature · 1 line
2.32.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Ben

When mapping a register, the debug message should use the verb 'map' not 'probe'.

Yep... Thanks for catching that!

Quoted 20 lines
---
 drivers/cxl/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cxl/pci.c +1 -1
index 4cf351a3cf99..fe240e1504d5 100644
@@ -1048,7 +1048,7 @@ static int cxl_map_regs(struct cxl_mem *cxlm, struct cxl_register_map *map)
 		break;
 	case CXL_REGLOC_RBI_MEMDEV:
 		cxl_map_device_regs(pdev, &cxlm->regs.device_regs, map);
-		dev_dbg(dev, "Probing device registers...\n");
+		dev_dbg(dev, "Mapping device registers...\n");
 		break;
 	default:
 		break;
Signature · 1 line
2.32.0