summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2015-05-11 15:39:47 +0800
committerYork Sun <yorksun@freescale.com>2015-07-20 11:44:38 -0700
commit49a5e42a780dadf69fcac177143b0c8619ec467b (patch)
tree31a5b03518161aa33f9a39c473118a2aff4be5fc /config.mk
parent97421bd2c010479504947a80b18f79d0485d6eb4 (diff)
downloadblackbird-obmc-uboot-49a5e42a780dadf69fcac177143b0c8619ec467b.tar.gz
blackbird-obmc-uboot-49a5e42a780dadf69fcac177143b0c8619ec467b.zip
arm: ls1021a: Remove the inappropriate use of the function 'sprintf'
As the function 'sprintf' does not check buffer boundaries but outputs to the buffer 'enet' of fixed size (16), this patch removes the function 'sprintf', and uses 'strcpy' instead. It will assign the character arrays 'enet' and 'phy' the corresponding character strings. Signed-off-by: Alison Wang <alison.wang@freescale.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud