ARM: s3c: Use strscpy to replace strlcpy
authorJason Wang <wangborong@cdjrlc.com>
Mon, 6 Sep 2021 13:46:56 +0000 (21:46 +0800)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 20 Sep 2021 08:13:47 +0000 (10:13 +0200)
commitaa519471715ce73034ffaa52fc85681de31c1acf
treed220ff89de7c563d30421b52f2c9e24b1253e0bd
parent2aa717473ce96c93ae43a5dc8c23cedc8ce7dd9f
ARM: s3c: Use strscpy to replace strlcpy

The strlcpy should not be used because it doesn't limit the source
length.  Preferred is strscpy.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20210906134656.101088-1-wangborong@cdjrlc.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
arch/arm/mach-s3c/mach-mini6410.c