[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210212092016.GF4572@dell>
Date: Fri, 12 Feb 2021 09:20:16 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Ahmad Fatoum <a.fatoum@...gutronix.de>,
Andy Gross <agross@...nel.org>,
Avi Fishman <avifishman70@...il.com>,
Benjamin Fair <benjaminfair@...gle.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Boris BREZILLON <boris.brezillon@...e-electrons.com>,
Chen-Yu Tsai <wens@...e.org>,
Emilio López <emilio@...pez.com.ar>,
Fabio Estevam <festevam@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Jan Kotas <jank@...ence.com>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-omap@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
linux-tegra@...r.kernel.org, Loc Ho <lho@....com>,
Maxime Ripard <mripard@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Michal Simek <michal.simek@...inx.com>,
Nancy Yuen <yuenn@...gle.com>,
Nuvoton Technologies <tali.perry@...oton.com>,
NXP Linux Team <linux-imx@....com>, openbmc@...ts.ozlabs.org,
Patrick Venture <venture@...gle.com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Prashant Gaikwad <pgaikwad@...dia.com>,
Rajan Vaja <rajan.vaja@...inx.com>,
Rajeev Kumar <rajeev-dlh.kumar@...com>,
Richard Woodruff <r-woodruff2@...com>,
Russell King <linux@...linux.org.uk>,
Sascha Hauer <s.hauer@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Shiraz Hashim <shiraz.linux.kernel@...il.com>,
Sören Brinkmann <soren.brinkmann@...inx.com>,
Tali Perry <tali.perry1@...il.com>,
Tero Kristo <kristo@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Tomer Maimon <tmaimon77@...il.com>,
Viresh Kumar <vireshk@...nel.org>
Subject: Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock
On Thu, 11 Feb 2021, Stephen Boyd wrote:
> 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?
That would circumvent the point of W=1. Level-1 warnings are deemed,
and I'm paraphrasing/making this up "not worth rejecting pull-requests
over". In contrast, if Linus catches any W=0 warnings at pull-time,
he will reject the pull-request as 'untested'.
W=1 is defiantly something you'll want to enable locally though, and
subsequently push back on contributors submitting code adding new
ones.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists