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

Commit 8d474b17 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar Committed by Prasad Sodagudi
Browse files

soc: qcom: memory_dump_v2: use kmemleak_not_leak for mem dump's app table



Table (of type msm_dump_table) is virtual address for app's base
table of memdump, which is converted to physical address and
holds it in the memdump.table_phys. This memory is not intended
to be freed. When kmemleak scans, it can't deduce that the reference
we are holding is via physical address and not virtual address.
Hence, kmemleak will treat this as a leak as it can't find
a reference to this variable. Suppress this by using
kmemleak_not_leak API.

Change-Id: I5236c940688829a3b5f255c5ee9fcf309cf8ebb7
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 602e975c
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