powerpc/qe: Use strlcpy()
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 26 Jul 2014 21:26:51 +0000 (23:26 +0200)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 05:32:13 +0000 (23:32 -0600)
commit5db431285d832156852d6f0013089b5d2305a28d
treec317ad2e15aeeba0e64b52ecbeddf8f2fcf541b0
parent8ac6e995ac17f33a5cc6796c5069488eb9f4abd7
powerpc/qe: Use strlcpy()

Replace strcpy and strncpy with strlcpy to avoid strings that are too
big, or lack null termination.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
[scottwood@freescale.com: cleaned up commit message]
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/qe_lib/qe.c