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

Skip to content
Commit 26f7d7ba authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Don't call kmemleak on vmalloc memory



kmemleak doesn't work for vmalloc() memory and if the size of the
allocated scatter gather list is too big the memory will come
from vmalloc by way of kgsl_malloc() and cause a warning in
kmemleak_not_leak(). Do a vmalloc check on the pointer before
calling kemmleak_not_leak().

CRs-Fixed: 680830
Change-Id: Ic0dedbad719f8bb675fb9a0456d659be2cc43577
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent d86deab8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment