Messages in this thread | | | From | Leon Romanovsky <> | Subject | Re: [PATCH] RDMA/irdma: replace deprecated strncpy | Date | Fri, 22 Sep 2023 13:29:42 +0300 |
| |
On Thu, 21 Sep 2023 07:36:26 +0000, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1] > and as such we should prefer more robust and less ambiguous string > interfaces. > > A suitable replacement is `strscpy_pad` due to the fact that it > guarantees NUL-termination on the destination buffer. > > [...]
Applied, thanks!
[1/1] RDMA/irdma: replace deprecated strncpy https://git.kernel.org/rdma/rdma/c/f0cc82ca116f5b
Best regards, -- Leon Romanovsky <leon@kernel.org>
| |