Re: [PATCH v2] powerpc/64: Fix build failure with GCC 8.1

2018-05-30 Thread Christophe LEROY
Le 31/05/2018 à 07:54, Michael Ellerman a écrit : Christophe LEROY writes: Le 29/05/2018 à 11:05, Geert Uytterhoeven a écrit : Hi Christophe, On Tue, May 29, 2018 at 10:56 AM, Christophe LEROY wrote: Le 29/05/2018 à 09:47, Geert Uytterhoeven a écrit : On Tue, May 29, 2018 at 8:03 AM, Chr

[PATCH v2] powerpc/64: Fix build failure with GCC 8.1

2018-05-28 Thread Christophe Leroy
CC arch/powerpc/kernel/nvram_64.o arch/powerpc/kernel/nvram_64.c: In function 'nvram_create_partition': arch/powerpc/kernel/nvram_64.c:1042:2: error: 'strncpy' specified bound 12 equals destination size [-Werror=stringop-truncation] strncpy(new_part->header.name, name, 12); ^~~~