Messages in this thread | | | Subject | Re: [PATCH v2] RISC-V: cpu: refactor deprecated strncpy | Date | Wed, 09 Aug 2023 07:11:08 -0700 | From | Palmer Dabbelt <> |
| |
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@rivosinc.com>
| |