Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/ps3: refactor strncpy usage | Date | Wed, 23 Aug 2023 21:55:55 +1000 |
| |
On Wed, 16 Aug 2023 21:39:24 +0000, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > `make_first_field()` should use similar implementation to `make_field()` > due to memcpy having more obvious behavior here. The end result yields > the same behavior as the previous `strncpy`-based implementation > including the NUL-padding. > > [...]
Applied to powerpc/next.
[1/1] powerpc/ps3: refactor strncpy usage https://git.kernel.org/powerpc/c/f94a84a0914841d79a38df7cc75512d88b31a0dc
cheers
| |