From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4A36C433E6 for ; Sat, 13 Feb 2021 16:00:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E7C764E39 for ; Sat, 13 Feb 2021 16:00:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbhBMQAE (ORCPT ); Sat, 13 Feb 2021 11:00:04 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:39086 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbhBMQAD (ORCPT ); Sat, 13 Feb 2021 11:00:03 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lAxJT-0064CT-UT; Sat, 13 Feb 2021 16:58:27 +0100 Date: Sat, 13 Feb 2021 16:58:27 +0100 From: Andrew Lunn To: Stephen Boyd , Arnd Bergmann Cc: Lee Jones , Prashant Gaikwad , Tomer Maimon , Geert Uytterhoeven , Michael Turquette , Bjorn Andersson , Rajeev Kumar , Jan Kotas , Russell King , Fabio Estevam , linux-clk@vger.kernel.org, Boris BREZILLON , Ahmad Fatoum , Benjamin Fair , Emilio =?iso-8859-1?Q?L=F3pez?= , Viresh Kumar , openbmc@lists.ozlabs.org, Michal Simek , Jonathan Hunter , Nancy Yuen , Chen-Yu Tsai , Andy Gross , Loc Ho , NXP Linux Team , Richard Woodruff , Tali Perry , Philipp Zabel , linux-arm-msm@vger.kernel.org, Sascha Hauer , Maxime Ripard , linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, Shiraz Hashim , linux-arm-kernel@lists.infradead.org, =?iso-8859-1?Q?S=F6ren?= Brinkmann , Jernej Skrabec , Tero Kristo , Rajan Vaja , Avi Fishman , Patrick Venture , Peter De Schrijver , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Nuvoton Technologies , Thierry Reding , Pengutronix Kernel Team , Shawn Guo Subject: Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock Message-ID: References: <20210126124540.3320214-1-lee.jones@linaro.org> <161307643148.1254594.6590013599999468609@swboyd.mtv.corp.google.com> <20210211211054.GD4572@dell> <161309925025.1254594.6210738031889810500@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161309925025.1254594.6210738031889810500@swboyd.mtv.corp.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu, Feb 11, 2021 at 07:07:30PM -0800, 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? 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