[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0cdbe9c56d73402be9e3b36a662c68515abcfae9.camel@perches.com>
Date: Tue, 20 Oct 2020 11:54:25 -0700
From: Joe Perches <joe@...ches.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Tom Rix <trix@...hat.com>, LKML <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>,
Greg KH <gregkh@...uxfoundation.org>,
George Burgess <gbiv@...gle.com>,
Arnd Bergmann <arnd@...db.de>, Jason Gunthorpe <jgg@...pe.ca>
Subject: Re: [RFC] treewide: cleanup unreachable breaks
On Tue, 2020-10-20 at 11:51 -0700, Nick Desaulniers wrote:
> On Tue, Oct 20, 2020 at 11:42 AM Joe Perches <joe@...ches.com> wrote:
> > On Mon, 2020-10-19 at 12:42 -0700, Nick Desaulniers wrote:
> > > We probably should add all 3 to W=2 builds (wrapped in cc-option).
> > > I've filed https://github.com/ClangBuiltLinux/linux/issues/1180 to
> > > follow up on.
> >
> > I suggest using W=1 as people that are doing cleanups
> > generally use that and not W=123 or any other style.
> >
> > Every other use of W= is still quite noisy and these
> > code warnings are relatively trivially to fix up.
>
> The 0day bot folks have enabled W=1 recently; hence the uptick in
> reports of -Wimplicit-function-declaration.
>
> If it gets added to W=1, it's effectively "on by default" for new code
> tested by 0day bot.
And that would mean these get fixed faster no?
Isn't that a good thing?
Powered by blists - more mailing lists