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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

On Mon, 20 Aug 2018 08:16:18 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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(); }
>                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Note that I only upgraded my (host) powerpc compiler.

-- 
Cheers,
Stephen Rothwell

Attachment: pgpLmSJ_MCYHh.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux