Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock
From: Stephen Boyd
Date: Thu Feb 11 2021 - 22:08:21 EST
Quoting Lee Jones (2021-02-11 13:10:54)
> On Thu, 11 Feb 2021, Stephen Boyd wrote:
>
> > Quoting Lee Jones (2021-01-26 04:45:19)
> > > This set is part of a larger effort attempting to clean-up W=1
> > > kernel builds, which are currently overwhelmingly riddled with
> > > niggly little warnings.
> > >
> > > This is the last set. Clock is clean after this.
> >
> > Is it possible to slam in some patch that makes W=1 the default for the
> > clk directory? I'm trying to avoid seeing this patch series again.
>
> One of my main goals of this project is that everyone (contributors,
> maintainers auto-builder robots etc) will be enabling W=1 builds
> *locally*.
>
> This isn't something you'll want to do at a global (i.e. in Mainline)
> level. That's kinda the point of W=1.
>
Agreed, but is it possible to pass W=1 in the drivers/clk/Makefile?