Thread (3 messages) 3 messages, 3 authors, 2025-06-24

Re: [PATCH v2] net/smc: replace strncpy with strscpy

From: Simon Horman <horms@kernel.org>
Date: 2025-06-20 19:58:55
Also in: linux-kernel-mentees, linux-rdma, linux-s390, lkml

On Fri, Jun 20, 2025 at 03:55:59PM +0530, Pranav Tyagi wrote:
Replace the deprecated strncpy() with two-argument version of
strscpy() as the destination is an array
and should be NUL-terminated.

Signed-off-by: Pranav Tyagi <redacted>
Thanks for the update.

Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help