Re: [PATCH v2] RISC-V: cpu: refactor deprecated strncpy

From: Palmer Dabbelt
Date: Wed Aug 09 2023 - 10:11:21 EST



On Wed, 02 Aug 2023 00:21:58 +0000, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> Favor not copying strings onto stack and instead use strings directly.
> This avoids hard-coding sizes and buffer lengths all together.
>
>

Applied, thanks!

[1/1] RISC-V: cpu: refactor deprecated strncpy
https://git.kernel.org/palmer/c/12d61a1bc28e

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>