summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-armv7
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2015-05-11 07:39:47 (GMT)
committerYork Sun <yorksun@freescale.com>2015-07-20 18:44:38 (GMT)
commit49a5e42a780dadf69fcac177143b0c8619ec467b (patch)
tree31a5b03518161aa33f9a39c473118a2aff4be5fc /arch/arm/include/asm/arch-armv7
parent97421bd2c010479504947a80b18f79d0485d6eb4 (diff)
downloadu-boot-49a5e42a780dadf69fcac177143b0c8619ec467b.tar.xz
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 'arch/arm/include/asm/arch-armv7')
0 files changed, 0 insertions, 0 deletions