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

Skip to content
Commit 525f63ef authored by Hareesh Gundu's avatar Hareesh Gundu Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Fix typecasting issue in kgsl_cma_coherent_free()



The attrs variable is value which is passed to dma_free_attrs()
along with the host pointer. Currently attrs value is assigned
to address of memdesc->attrs which can result into a memory
leak due to incorrect attribute value. So fix typecasting
issue while assigning attrs value.

Change-Id: I369314b1ce640bd7b3b3d063d95268f4e9819b8c
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent 6eef7078
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