OSDN Git Service

MIPS: Fix a warning for virt_to_page
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Mon, 14 Jul 2014 15:39:19 +0000 (16:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Aug 2014 00:27:47 +0000 (02:27 +0200)
commit4d5b3bdc0ecb0cf5b1e1598eeaaac4b5cb33868d
tree7f39e0a3c2a0191b5daf0ad17bfc0da373ff6401
parent98fb24af5e6885ae5ae6b1598a875922e0d83a36
MIPS: Fix a warning for virt_to_page

Compiling mm/highmem.c gives a warning: passing argument 1 of
'virt_to_phys' makes pointer from integer without a cast

Fixed by casting to void*

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7337/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h