Re: linux-next: build warnings from Linus' tree

From: Stephen Rothwell
Date: Sun Aug 19 2018 - 18:16:25 EST


Hi all,

On Mon, 20 Aug 2018 08:13:23 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Today's linux-next build (powerpc ppc64_defconfig) produced these
> warnings:
>
...
>
> Presumably caused by my update to gcc 8.2.0.

And this from the x86_64 allmodconfig build:

scripts/unifdef.c: In function 'Mpass':
scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Cheers,
Stephen Rothwell

Attachment: pgpLO0bmABgcT.pgp
Description: OpenPGP digital signature