Re: [PATCH v5 01/16] image: Correct strncpy() warning with image_set_name()

2022-11-22 Thread Simon Glass
On Wed, 9 Nov 2022 at 19:16, Simon Glass wrote: > > gcc 12 seems to warn on strncpy() as a matter of course. Rewrite the code > a different way to do the same thing, to avoid the warning. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > include/image.h | 8 +++- > 1 file ch

[PATCH v5 01/16] image: Correct strncpy() warning with image_set_name()

2022-11-09 Thread Simon Glass
gcc 12 seems to warn on strncpy() as a matter of course. Rewrite the code a different way to do the same thing, to avoid the warning. Signed-off-by: Simon Glass --- (no changes since v1) include/image.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/image.h