diff options
| author | 2021-01-26 10:13:31 +0800 | |
|---|---|---|
| committer | 2021-02-16 14:37:43 -0800 | |
| commit | 7323fb22f05ff1d20498d267828870a5fbbaebd6 (patch) | |
| tree | 1c530ee3bed4823628f15661abeb44495dc1dc1b /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.11-rc6 (diff) | |
| download | linux-dev-7323fb22f05ff1d20498d267828870a5fbbaebd6.tar.xz linux-dev-7323fb22f05ff1d20498d267828870a5fbbaebd6.zip | |
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>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
