diff mbox series

[ndctl,6/7] cxl/list: Include regions in the verbose listing

Message ID 20230120-vv-volatile-regions-v1-6-b42b21ee8d0b@intel.com
State Superseded
Headers show
Series cxl: add support for listing and creating volatile regions | expand

Commit Message

Verma, Vishal L Feb. 7, 2023, 7:16 p.m. UTC
From: Dan Williams <dan.j.williams@intel.com>

When verbose listing was added, region listing support was not available, so
it got missed. Add it now.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 cxl/list.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ira Weiny Feb. 8, 2023, 4:08 a.m. UTC | #1
Vishal Verma wrote:
> From: Dan Williams <dan.j.williams@intel.com>
> 
> When verbose listing was added, region listing support was not available, so
> it got missed. Add it now.
> 

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

> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
> ---
>  cxl/list.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/cxl/list.c b/cxl/list.c
> index e3ef1fb..4e77aeb 100644
> --- a/cxl/list.c
> +++ b/cxl/list.c
> @@ -126,6 +126,7 @@ int cmd_list(int argc, const char **argv, struct cxl_ctx *ctx)
>  		param.endpoints = true;
>  		param.decoders = true;
>  		param.targets = true;
> +		param.regions = true;
>  		/*fallthrough*/
>  	case 0:
>  		break;
> 
> -- 
> 2.39.1
>
diff mbox series

Patch

diff --git a/cxl/list.c b/cxl/list.c
index e3ef1fb..4e77aeb 100644
--- a/cxl/list.c
+++ b/cxl/list.c
@@ -126,6 +126,7 @@  int cmd_list(int argc, const char **argv, struct cxl_ctx *ctx)
 		param.endpoints = true;
 		param.decoders = true;
 		param.targets = true;
+		param.regions = true;
 		/*fallthrough*/
 	case 0:
 		break;