]> Git Repo - linux.git/commit
mm/memblock.c: replace u64 with phys_addr_t where appropriate
authorMike Rapoport <[email protected]>
Fri, 17 Aug 2018 22:47:17 +0000 (15:47 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Aug 2018 23:20:30 +0000 (16:20 -0700)
commita36aab890c2166744e6299dc55ef2c38cb6616c0
treea0d9770eafbe56b8df377c6d814fa824a50568c6
parent4e40987f12de2f244d0d2ef64730aca92922c95a
mm/memblock.c: replace u64 with phys_addr_t where appropriate

Most functions in memblock already use phys_addr_t to represent a
physical address with __memblock_free_late() being an exception.

This patch replaces u64 with phys_addr_t in __memblock_free_late() and
switches several format strings from %llx to %pa to avoid casting from
phys_addr_t to u64.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Pavel Tatashin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memblock.c
This page took 0.053896 seconds and 4 git commands to generate.