Re: linux-next: disabling -Wstringop-truncation

From: Andi Kleen
Date: Thu Aug 30 2018 - 18:32:11 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:

> Hi Linus,
>
> I am now mainly using gcc v8.2 for my builds and -Wstringop-truncation
> causes so many warnings that I am sure to miss others, so I have
> applied the below to my fixes tree until the noise reduces.

I have the same problem.

However It's not clear if they're all false positives (I suspect not)

It would be better to move the warning to W=2 or so, and also needs
someone actually looking at them.

-Andi