Shiyang Ruan 7323fb22f0 device-dax: Fix default return code of range_parse()
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@cn.fujitsu.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/r/20210126021331.1059933-1-ruansy.fnst@cn.fujitsu.com
Reported-by: Zhang Qilong <zhangqilong3@huawei.com>
Fixes: 8490e2e25b5a ("device-dax: add a range mapping allocation attribute")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2021-02-16 14:37:43 -08:00
..
2021-01-29 13:59:24 -08:00
2021-01-24 11:05:48 -08:00
2021-01-29 13:50:06 -08:00
2020-12-18 12:38:28 -08:00
2021-01-28 09:14:58 -08:00
2021-01-14 20:56:56 +00:00
2020-12-16 16:38:41 -08:00
2021-01-31 11:57:37 -08:00
2020-12-07 10:08:14 +01:00
2020-12-15 16:06:14 -08:00
2020-12-02 22:35:44 +01:00
2021-01-01 12:58:07 -08:00
2021-01-12 21:23:55 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
2021-01-29 13:50:06 -08:00
2021-01-26 19:15:54 +01:00
2020-12-16 13:34:31 -08:00
2020-12-25 20:17:40 -08:00
2020-12-15 22:50:12 +11:00
2020-12-19 11:51:32 -08:00
2020-12-16 16:38:41 -08:00
2020-12-16 16:38:41 -08:00
2021-01-30 16:39:36 -08:00
2021-01-25 12:53:48 +00:00
2020-12-10 10:45:36 +01:00
2021-01-30 17:42:42 -08:00
2020-12-20 10:44:05 -08:00
2021-01-05 13:30:28 -08:00
2020-12-18 12:38:28 -08:00
2020-12-09 19:44:34 +01:00
2020-12-23 15:01:49 -08:00
2021-01-28 10:08:08 -08:00