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

Commit 6ed92810 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: Deal with a NULL pointer when creating default pagetable"

parents 2fff0bbb f6f9180d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1497,6 +1497,8 @@ static int _setup_user_context(struct kgsl_mmu *mmu)
			ret = PTR_ERR(mmu->defaultpagetable);
			mmu->defaultpagetable = NULL;
			return ret;
		} else if (mmu->defaultpagetable == NULL) {
			return -ENOMEM;
		}
	}