projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3301ab
)
parisc: fix compile warning in mm/init.c
author
Kyle McMartin
<kyle@mcmartin.ca>
Tue, 23 Jun 2009 15:51:43 +0000
(11:51 -0400)
committer
Kyle McMartin
<kyle@mcmartin.ca>
Fri, 3 Jul 2009 03:34:10 +0000
(
03:34
+0000)
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 <kyle@mcmartin.ca>
arch/parisc/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/parisc/mm/init.c
b/arch/parisc/mm/init.c
index 6c5ea964647cf71adcf94cd18e5b6e76fce944e3..b0831d9e35cba677d153af1ac7efd0583fc618aa 100644
(file)
--- 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