Skip to content
Commit b176372a authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher
Browse files

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: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1a6a8f34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment