kernel_optimize_test/drivers/dax
Shiyang Ruan fc22917f48 device-dax: Fix default return code of range_parse()
[ Upstream commit 7323fb22f05ff1d20498d267828870a5fbbaebd6 ]

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: 8490e2e25b ("device-dax: add a range mapping allocation attribute")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:15 +01:00
..
hmem
pmem
bus.c device-dax: Fix default return code of range_parse() 2021-03-04 11:38:15 +01:00
bus.h
dax-private.h
device.c
Kconfig
kmem.c
Makefile
super.c device-dax/core: Fix memory leak when rmmod dax.ko 2020-12-30 11:54:26 +01:00