commit | b176372af4c773de188fae67e334e2a83c5706e3 | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Fri Oct 09 12:46:40 2015 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 22 12:36:55 2015 -0400 |
tree | 6c20579f62bd32d016c699eb851bc8fe3c9a364b | |
parent | 1a6a8f34a0b17ac03f42bac416e5d289f9c3248f [diff] |
amdgpu: Cleanly handle ENOMEM on result in amdgpu_bo_list_create() Move the allocation of result prior to the IOCTL so we can cleanly backtrack if the allocation fails. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>