-
- Downloads
"git@git.rigado.com:vesta/u-boot-2015.04.git" did not exist on "d47031e6879d6408b08889583600edd6aff378c8"
Fix printf errors.
The compiler will help find mismatches between printf formats and
arguments if you let it. This patch adds the necessary attributes to
declarations in include/common.h, then begins to correct the resulting
compiler warnings. Some of these were bugs, e.g., "$d" instead of
"%d" and incorrect arguments. Others were just annoying, like
int-long mismatches on a system where both are 32 bits. It's worth
fixing the annoying errors to catch the real ones.
Signed-off-by:
Andrew Klossner <andrew@cesa.opbu.xerox.com>
Showing
- common/cmd_fdt.c 4 additions, 4 deletionscommon/cmd_fdt.c
- common/main.c 1 addition, 1 deletioncommon/main.c
- cpu/mpc85xx/traps.c 4 additions, 4 deletionscpu/mpc85xx/traps.c
- include/common.h 10 additions, 5 deletionsinclude/common.h
- lib_ppc/bootm.c 4 additions, 4 deletionslib_ppc/bootm.c
- net/tftp.c 1 addition, 1 deletionnet/tftp.c
Loading
Please register or sign in to comment