Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

From
Andrew Lunn <andrew@lunn.ch>
Date
2021-02-13 16:00:21
Also in
linux-arm-msm, linux-clk, linux-omap, linux-renesas-soc, linux-tegra, lkml, openbmc
Reply to
Stephen Boyd, 2021-02-12
On Thu, Feb 11, 2021 at 07:07:30PM -0800, Stephen Boyd wrote:
Quoting Lee Jones (2021-02-11 13:10:54)
quoted
On Thu, 11 Feb 2021, Stephen Boyd wrote:
quoted
Quoting Lee Jones (2021-01-26 04:45:19)
quoted
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?
About a cycle ago, Arnd and i played around with this idea. The
Ethernet PHY subsystem is W=1 clean, and most of he network stack
is. But keeping it clean is not so easy, when developers do sometimes
add new warnings, since they have no idea the code is W=1 clean.

You are also not the only one asking for such a feature. RDMA also
asked recently.

Arnd, do you plan to push the patches?

      Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (39 messages) 39 messages, 8 authors, last reply 2021-03-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help