diag: Make sure kmemleak tool does not report incorrect memory leaks.

Certain memory allocations are not properly tracked by the kmemleak
tool, which causes it to incorrectly detect memory leaks. Notify the
tool by using kmemleak_not_leak() to ignore the memory allocation
so that incorrect leak reports are avoided.

CRs-Fixed: 348775
Change-Id: I6a3f0b8074516cd297d519ad8e822d053ba7bd0e
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
2 files changed