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

From: Dan Williams
Date: Tue Feb 16 2021 - 17:39:51 EST


On Wed, Feb 10, 2021 at 10:19 AM Joao Martins <joao.m.martins@xxxxxxxxxx> 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 <ruansy.fnst@xxxxxxxxxxxxxx>
>
> Reviewed-by: Joao Martins <joao.m.martins@xxxxxxxxxx>
>
> Although, FWIW, there was another patch exactly like this a couple
> months ago, albeit it didn't get pulled for some reason:
>
> https://lore.kernel.org/linux-nvdimm/20201026110425.136629-1-zhangqilong3@xxxxxxxxxx/

Apologies for missing these... applied now.