ANDROID: Fix wrong pr_err type specifier in remove_memory_subsection

Wrong pr_err type specifier causes the following warning:
error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
Fix it by changing to the correct type specifyer for u64.

Fixes: 42db6c2e98 ("ANDROID: mm/memory_hotplug: implement {add/remove}_memory_subsection")
Bug: 170460867
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ie00738c159436ecec78cba3818cb3542987186ca
This commit is contained in:
Suren Baghdasaryan
2021-12-15 13:01:36 -08:00
parent 1592d4fa49
commit f36d7e3441

View File

@@ -2300,7 +2300,7 @@ int remove_memory_subsection(u64 start, u64 size)
if (!IS_ALIGNED(start, SUBSECTION_SIZE) ||
!IS_ALIGNED(size, SUBSECTION_SIZE)) {
pr_err("%s: start 0x%lx size 0x%lx not aligned to subsection size\n",
pr_err("%s: start 0x%llx size 0x%llx not aligned to subsection size\n",
__func__, start, size);
return -EINVAL;
}