From: Kyle McMartin Date: Tue, 23 Jun 2009 15:51:43 +0000 (-0400) Subject: parisc: fix compile warning in mm/init.c X-Git-Tag: MMI-PSA29.97-13-9~27491^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20dbc9f724e02c26e30d89cf50e7ce259ab46da4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git parisc: fix compile warning in mm/init.c arch/parisc/mm/init.c: In function 'free_initmem': 381: warning: passing argument 1 of 'memset' makes pointer from integer without a cast Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 6c5ea964647c..b0831d9e35cb 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -378,7 +378,7 @@ void free_initmem(void) /* Attempt to catch anyone trying to execute code here * by filling the page with BRK insns. */ - memset(init_begin, 0x00, init_end - init_begin); + memset((void *)init_begin, 0x00, init_end - init_begin); flush_icache_range(init_begin, init_end); #endif