]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver/qe: use strncpy instead of strcpy
authorZhao Qiang <B45475@freescale.com>
Tue, 5 May 2015 07:53:33 +0000 (15:53 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 3 Aug 2015 19:06:36 +0000 (12:06 -0700)
commit0e0224ee627a71191a4e704c367c09723b995993
treeee5a92d58d3672b27338959b84d2e7fb307ef504
parente94a8fd36300b1df347f034e0cfa6704dad83b6d
driver/qe: use strncpy instead of strcpy

strncpy is safer than strcpy, use it to instead of strcpy.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/qe/qe.c