aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/sysctl.c
diff options
context:
space:
mode:
authorPranav Tyagi <[email protected]>2025-06-20 10:36:53 +0000
committerJakub Kicinski <[email protected]>2025-06-23 23:56:51 +0000
commitb04202d6065cba5dfd51fb9866400b25573eac67 (patch)
treefb3c0ecf71a1f4b7129aea08d7b88edc08a27123 /net/tipc/sysctl.c
parentnet/smc: replace strncpy with strscpy (diff)
downloadkernel-b04202d6065cba5dfd51fb9866400b25573eac67.tar.gz
kernel-b04202d6065cba5dfd51fb9866400b25573eac67.zip
net/sched: replace strncpy with strscpy
Replace the deprecated strncpy() with the two-argument version of strscpy() as the destination is an array and buffer should be NUL-terminated. Signed-off-by: Pranav Tyagi <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions