Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45d5e124 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Return an error for failure in _cmdbatch_create_legacy"

parents 542b6421 46151f54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2154,7 +2154,7 @@ static struct kgsl_cmdbatch *_kgsl_cmdbatch_create_legacy(
	mem = kmem_cache_alloc(memobjs_cache, GFP_KERNEL);
	if (mem == NULL) {
		kgsl_cmdbatch_destroy(cmdbatch);
		return NULL;
		return ERR_PTR(-ENOMEM);
	}

	mem->gpuaddr = param->ibdesc_addr;