Re: [PATCH] dax: fix default return code of range_parse()

2021-02-16 Thread Dan Williams
On Wed, Feb 10, 2021 at 10:19 AM Joao Martins wrote: > > On 1/26/21 2:13 AM, Shiyang Ruan wrote: > > The return value of range_parse() indicates the size when it is > > positive. The error code should be negative. > > > > Signed-off-by: Shiyang Ruan > > Reviewed-by: Joao Martins > > Although, F

Re: [PATCH] dax: fix default return code of range_parse()

2021-02-10 Thread Joao Martins
On 1/26/21 2:13 AM, Shiyang Ruan wrote: > The return value of range_parse() indicates the size when it is > positive. The error code should be negative. > > Signed-off-by: Shiyang Ruan Reviewed-by: Joao Martins Although, FWIW, there was another patch exactly like this a couple months ago, alb

Re: [PATCH] dax: fix default return code of range_parse()

2021-02-07 Thread Ruan Shiyang
ping On 2021/1/26 上午10:13, Shiyang Ruan wrote: The return value of range_parse() indicates the size when it is positive. The error code should be negative. Signed-off-by: Shiyang Ruan --- drivers/dax/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dax/bus.

[PATCH] dax: fix default return code of range_parse()

2021-01-26 Thread Shiyang Ruan
The return value of range_parse() indicates the size when it is positive. The error code should be negative. Signed-off-by: Shiyang Ruan --- drivers/dax/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c index 737b207c9e30..3003558c1a