# crisv32-axis-linux-gnu-gcc --version
crisv32-axis-linux-gnu-gcc (GCC) 3.2.1 Axis release R64/1.64
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# make
kexec/arch/cris/kexec-elf-cris.c: In function `elf_cris_load':
kexec/arch/cris/kexec-elf-cris.c:134: warning: assignment makes pointer from 
integer without a cast

Signed-off-by: Simon Horman <ho...@verge.net.au>

Index: kexec-tools/kexec/arch/cris/kexec-elf-cris.c
===================================================================
--- kexec-tools.orig/kexec/arch/cris/kexec-elf-cris.c   2010-02-01 
23:06:38.000000000 +1100
+++ kexec-tools/kexec/arch/cris/kexec-elf-cris.c        2010-02-01 
23:07:23.000000000 +1100
@@ -131,6 +131,6 @@ int elf_cris_load(int argc, char **argv,
                                          4, 0, elf_max_addr(&ehdr), 1);
        memcpy(trampoline_buf,
               cris_trampoline, cris_trampoline_size);
-       info->entry = trampoline_base;
+       info->entry = (void *)trampoline_base;
        return 0;
 }


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to