Re: [PATCH ndctl] ndctl/cxl/region: Report max size for region creation

2023-09-27 Thread Dave Jiang
On 9/26/23 17:24, Ira Weiny wrote: > When creating a region if the size exceeds the max an error is printed. > However, the max available space is not reported which makes it harder > to determine what is wrong. > > Add the max size available to the output error. > > Signed-off-by: Ira Weiny

[PATCH ndctl] ndctl/cxl/region: Report max size for region creation

2023-09-26 Thread Ira Weiny
When creating a region if the size exceeds the max an error is printed. However, the max available space is not reported which makes it harder to determine what is wrong. Add the max size available to the output error. Signed-off-by: Ira Weiny --- cxl/region.c | 4 ++-- 1 file changed, 2