diff options
| author | Shiyang Ruan <[email protected]> | 2021-01-26 10:13:31 +0800 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2021-02-16 14:37:43 -0800 |
| commit | 7323fb22f05ff1d20498d267828870a5fbbaebd6 (patch) | |
| tree | 1c530ee3bed4823628f15661abeb44495dc1dc1b /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | 1048ba83fb1c00cd24172e23e8263972f6b5d9ac (diff) | |
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 <[email protected]>
Reviewed-by: Joao Martins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Zhang Qilong <[email protected]>
Fixes: 8490e2e25b5a ("device-dax: add a range mapping allocation attribute")
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions