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

Commit 716a68ce authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cma: skip kmemleak for common cma region"

parents 057356f8 4d24f88f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
#include <linux/cma.h>
#include <linux/highmem.h>
#include <linux/delay.h>
#include <linux/kmemleak.h>
#include <trace/events/cma.h>

#include "cma.h"
@@ -311,6 +312,9 @@ int __init cma_declare_contiguous(phys_addr_t base,
			}
		}

		if (addr < highmem_start)
			kmemleak_no_scan(__va(addr));

		base = addr;
	}