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

Commit e23496b5 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smem_log: Use smem_get_entry_to_proc()



smem_get_entry() is deprecated.  Use the replacement function,
smem_get_entry_to_proc(), instead.

Change-Id: I343448e3ffe2955d4e5274a14784ddf7b95eb8b0
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent d246099e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -583,7 +583,8 @@ static void find_voters(void)
	unsigned size;
	int i = 0, j = 0;

	x = smem_get_entry(SMEM_SLEEP_STATIC, &size);
	x = smem_get_entry_to_proc(SMEM_SLEEP_STATIC, &size, 0,
							SMEM_ANY_HOST_FLAG);
	next = x;
	while (next && (next < (x + size)) &&
	       ((i + j) < (ARRAY_SIZE(voter_d3_syms) +