linux-brain/arch/arc/mm
Randy Dunlap 21d36c9737 arc: fix type warnings in arc/mm/cache.c
[ Upstream commit ec837d620c ]

Fix type warnings in arch/arc/mm/cache.c.

../arch/arc/mm/cache.c: In function 'flush_anon_page':
../arch/arc/mm/cache.c:1062:55: warning: passing argument 2 of '__flush_dcache_page' makes integer from pointer without a cast [-Wint-conversion]
  __flush_dcache_page((phys_addr_t)page_address(page), page_address(page));
                                                       ^~~~~~~~~~~~~~~~~~
../arch/arc/mm/cache.c:1013:59: note: expected 'long unsigned int' but argument is of type 'void *'
 void __flush_dcache_page(phys_addr_t paddr, unsigned long vaddr)
                                             ~~~~~~~~~~~~~~^~~~~

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org
Cc: Elad Kanfi <eladkan@mellanox.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Ofer Levi <oferle@mellanox.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:18:36 +02:00
..
Makefile ARC: mm: HIGHMEM: kmap API implementation 2015-10-28 19:49:04 +05:30
cache.c arc: fix type warnings in arc/mm/cache.c 2018-09-05 09:18:36 +02:00
dma.c ARC: Eliminate some ARCv2 specific code for ARCompact build 2015-08-21 15:06:43 +05:30
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c ARC: mm: preps ahead of HIGHMEM support 2015-10-28 19:31:05 +05:30
highmem.c ARC: mm: HIGHMEM: Fix section mismatch splat 2015-12-21 12:10:40 +05:30
init.c ARC: [plat-sim] unbork non default CONFIG_LINUX_LINK_BASE 2015-12-17 11:06:43 +05:30
ioremap.c ARC: Use <linux/*> headers instead of <asm/*> 2013-04-09 12:21:14 +05:30
mmap.c mm: larger stack guard gap, between vmas 2017-06-26 07:13:11 +02:00
tlb.c ARC: Re-enable MMU upon Machine Check exception 2017-09-27 11:00:16 +02:00
tlbex.S ARC: use ASL assembler mnemonic 2015-11-14 13:12:21 +05:30