[PATCH v5 01/16] image: Correct strncpy() warning with image_set_name()
Simon Glass
sjg at chromium.org
Wed Nov 23 03:12:18 CET 2022
On Wed, 9 Nov 2022 at 19:16, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> include/image.h | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Applied to u-boot-dm.
More information about the U-Boot
mailing list