m68k: Fix warnings with gcc 4.6
Most of the warnings seem to be related to using 'int' for size_t. Change
this and fix up the remaining warnings and problems. For bootm, the warning
was masked by others, and there is an actual bug in the code.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/m68k/cpu/mcf532x/cpu_init.c 1 addition, 1 deletionarch/m68k/cpu/mcf532x/cpu_init.c
- arch/m68k/include/asm/posix_types.h 1 addition, 1 deletionarch/m68k/include/asm/posix_types.h
- arch/m68k/lib/bootm.c 2 additions, 5 deletionsarch/m68k/lib/bootm.c
- board/astro/mcf5373l/fpga.c 1 addition, 1 deletionboard/astro/mcf5373l/fpga.c
- board/astro/mcf5373l/mcf5373l.c 1 addition, 1 deletionboard/astro/mcf5373l/mcf5373l.c
- drivers/fpga/altera.c 3 additions, 3 deletionsdrivers/fpga/altera.c
- drivers/fpga/xilinx.c 3 additions, 3 deletionsdrivers/fpga/xilinx.c
Please register or sign in to comment