commit | e98bdb8061305ec00ca9c11231a606e849477bc8 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Fri Dec 14 11:57:02 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Dec 18 17:39:11 2018 -0500 |
tree | 0b9b9841767caba83179eb5722681f1f1d7d4d79 | |
parent | 7ab3f021bbc8078e7fbd1d06b6b3105dc010dc0e [diff] |
drm/amdkfd: Fix handling of return code of dma_buf_get On errors, dma_buf_get returns a negative error code, rather than NULL. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>