]> git.sur5r.net Git - u-boot/commit
Fix GCC format-security errors and convert sprintfs.
authorBen Whitten <ben.whitten@gmail.com>
Wed, 30 Dec 2015 13:05:58 +0000 (13:05 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2016 03:11:34 +0000 (22:11 -0500)
commit192bc6948b02ff4168cab16162fffb507946dc2b
treeb49cf85a3fa910182ce7dc2508f00ccb8ade03d4
parent4edde96111aefac63d6aaca6ba87a90d149e973e
Fix GCC format-security errors and convert sprintfs.

With format-security errors turned on, GCC picks up the use of sprintf with
a format parameter not being a string literal.

Simple uses of sprintf are also converted to use strcpy.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
53 files changed:
arch/mips/mach-au1x00/au1x00_eth.c
arch/powerpc/cpu/mpc8260/ether_scc.c
arch/powerpc/cpu/mpc8xx/fec.c
arch/powerpc/cpu/mpc8xx/scc.c
arch/powerpc/cpu/mpc8xx/video.c
board/freescale/b4860qds/eth_b4860qds.c
board/freescale/corenet_ds/eth_hydra.c
board/freescale/corenet_ds/eth_superhydra.c
board/freescale/ls1021aqds/eth.c
board/freescale/ls1043aqds/eth.c
board/freescale/ls2080aqds/eth.c
board/freescale/t102xqds/eth_t102xqds.c
board/freescale/t1040qds/eth.c
board/freescale/t208xqds/eth_t208xqds.c
board/freescale/t4qds/eth.c
board/gdsys/common/ihs_mdio.c
board/keymile/common/common.c
board/mpl/common/common_util.c
board/samsung/universal_c210/universal.c
board/siemens/rut/board.c
board/vscom/baltos/board.c
common/cmd_elf.c
common/cmd_mtdparts.c
disk/part_dos.c
disk/part_efi.c
disk/part_iso.c
drivers/block/sata_dwc.c
drivers/net/altera_tse.c
drivers/net/at91_emac.c
drivers/net/ax88180.c
drivers/net/cpsw.c
drivers/net/davinci_emac.c
drivers/net/designware.c
drivers/net/dm9000x.c
drivers/net/fm/memac_phy.c
drivers/net/fm/tgec_phy.c
drivers/net/fsl_mdio.c
drivers/net/ftgmac100.c
drivers/net/ftmac100.c
drivers/net/greth.c
drivers/net/keystone_net.c
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/lpc32xx_eth.c
drivers/net/mpc512x_fec.c
drivers/net/mpc5xxx_fec.c
drivers/net/mvgbe.c
drivers/net/ne2000_base.c
drivers/net/pch_gbe.c
drivers/net/sh_eth.c
drivers/net/tsec.c
drivers/usb/gadget/f_fastboot.c
include/configs/tam3517-common.h
scripts/kconfig/mconf.c