Skip to content
Commit 37912e96 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: handle bo size 0 in amdgpu_bo_create_kernel_at (v2)



Just return early to match other bo_create functions.

v2: check if the bo_ptr is NULL rather than checking the size.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> (v1)
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 66f3db4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment