summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Laight <david.laight.linux@gmail.com>2026-06-08 21:51:21 +0300
committerRob Herring (Arm) <robh@kernel.org>2026-06-10 21:48:40 +0300
commitaf96a303789410bb3face6b16bd9b9090ddfeec1 (patch)
treee9f94cf83f93766c51bbedc605f2eb3112384d80 /include/linux
parentefb6347d8b43d4d516a8f937485af29357c31df2 (diff)
downloadlinux-af96a303789410bb3face6b16bd9b9090ddfeec1.tar.xz
drivers/of/overlay: Use memcpy() to copy known length strings
Avoid calls to strcpy(). The lengths of the strings have been used for the kzalloc(), replace the strcpy() calls with memcpy() using the known lengths. Signed-off-by: David Laight <david.laight.linux@gmail.com> Link: https://patch.msgid.link/20260608185121.22331-1-david.laight.linux@gmail.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions