PPC: fix map_physmem build warning
PATCH 1/1 PPC: fix map_physmem build warning
map_physmem currently generates a warning when CONFIG_PHYS_64BIT is enabled. This quiets the warning.
Signed-off-by Becky Bruce <[email protected]>
--- include/asm-ppc/io.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-ppc/io.h +1 -1
@@ -251,7 +251,7 @@ extern inline void out_be32(volatile unsigned __iomem *addr, int val)static inline void *map_physmem (phys_addr_t paddr,unsigned long len,unsigned long flags) { -return (void *)paddr; +return (void *)((unsigned long )paddr); }/*
Signature · 1 line
1.5.4.1
Wolfgang Denk
AppliedPATCH 1/1 PPC: fix map_physmem build warning
Quoted 7 lines · In message <[email protected]> you wrote:
map_physmemcurrently generates a warning whenCONFIG_PHYS_64BITis enabled. This quiets the warning.Signed-off-by Becky Bruce <[email protected]>--- include/asm-ppc/io.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Bankers do it with interest (penalty for early withdrawal).