diff options
| author | 2018-12-14 11:57:02 -0500 | |
|---|---|---|
| committer | 2018-12-18 17:39:11 -0500 | |
| commit | e98bdb8061305ec00ca9c11231a606e849477bc8 (patch) | |
| tree | 0b9b9841767caba83179eb5722681f1f1d7d4d79 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | drm/amdgpu:Improves robustness of SOC15_WAIT_ON_RREG (diff) | |
| download | linux-dev-e98bdb8061305ec00ca9c11231a606e849477bc8.tar.xz linux-dev-e98bdb8061305ec00ca9c11231a606e849477bc8.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
