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: 42db6c2e985b ("ANDROID: mm/memory_hotplug: implement {add/remove}_memory_subsection") Bug: 170460867 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ie00738c159436ecec78cba3818cb3542987186ca Git-commit: f36d7e344195c0149f7d5e446cabbad7b9a1bb9d Git-repo: https://android.googlesource.com/kernel/common Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
This commit is contained in:
parent
59cd732e73
commit
a95d6b94f3
@ -2221,7 +2221,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user