diff mbox series

cxl/pci: Fix debug message

Message ID 20210714032054.293737-1-ben.widawsky@intel.com
State New, archived
Headers show
Series cxl/pci: Fix debug message | expand

Commit Message

Ben Widawsky July 14, 2021, 3:20 a.m. UTC
When mapping a register, the debug message should use the verb 'map' not
'probe'.

Cc: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
---
 drivers/cxl/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ira Weiny July 14, 2021, 4:16 a.m. UTC | #1
On Tue, Jul 13, 2021 at 08:20:54PM -0700, Widawsky, Ben wrote:
> When mapping a register, the debug message should use the verb 'map' not
> 'probe'.
> 
> Cc: Ira Weiny <ira.weiny@intel.com>
> Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>

Yep...  Thanks for catching that!

Reviewed-by: Ira Weiny <ira.weiny@intel.com>

> ---
>  drivers/cxl/pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c
> index 4cf351a3cf99..fe240e1504d5 100644
> --- a/drivers/cxl/pci.c
> +++ b/drivers/cxl/pci.c
> @@ -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;
> -- 
> 2.32.0
>
diff mbox series

Patch

diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c
index 4cf351a3cf99..fe240e1504d5 100644
--- a/drivers/cxl/pci.c
+++ b/drivers/cxl/pci.c
@@ -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;