Re: [PATCH RFC 1/3] powerpc/ps3: refactor strncpy usage attempt 1

2023-08-14 Thread Michael Ellerman
Justin Stitt writes: > This approach simply replicates the implementation of `make_field` which > means we drop `strncpy` for `memcpy`. > > Signed-off-by: Justin Stitt > --- > arch/powerpc/platforms/ps3/repository.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arc

[PATCH RFC 1/3] powerpc/ps3: refactor strncpy usage attempt 1

2023-08-11 Thread Justin Stitt
This approach simply replicates the implementation of `make_field` which means we drop `strncpy` for `memcpy`. Signed-off-by: Justin Stitt --- arch/powerpc/platforms/ps3/repository.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/ps3/repository.c