Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3337417pxb; Fri, 12 Feb 2021 16:10:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzM56rhEt/lLLjg6/uGoUbUMzpL+DuxQajdBR991EPxtCXRGo9w6wQ8/kxcWqZiGVmy7L6E X-Received: by 2002:a50:ec06:: with SMTP id g6mr5885070edr.12.1613175025287; Fri, 12 Feb 2021 16:10:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613175025; cv=none; d=google.com; s=arc-20160816; b=XEh1C03Jvjpmn1oZRCQhs7AdN6pK7Qj54lC8PVq8/KceRbNDao33GIJrW7CGohLfPt jmlQlBGS8U2a2g3+D1iMAyl5nNYVTCEuJ2ww7JuHHh/DavDqlgDVM0Sy0+vp7S7nylHl QXFNc16EUiHOMuWQN8f6tEHXcgLgHWm+pgNFXL4bcZ5DFze2f/5Muld6vq/fMM8K/Vev lLrHzWBjJbMVFHNRUwU00Wy+pBTflp8AHJN2M0il2vK6mk+v0rkNSM2Lo62dmFlYb5G1 vVjuXKPdY+JoRPYBWCM6wX1KoWf1euOdKrY4NoEuYTl1cwIAi1qzBuHbazBRSXaEgGc2 +Hvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=CFlj7h57yX4qBo3pMacY+jj4y2drPBAgvOit/0aQFik=; b=O5XyX6lI4sRkeGcrv8TAGpk15fOWFv6EfTuKaUytRxUaGLmZY+xKJSZEOgwObPiw1j MiE3zVnY+t1TfQ/e8nbpqdHPKKrJECqN0r/t9jEMmzRApo/lAQ1W03GQugM9JDLi72Hp N3/c3T1cz+xPL8UTv/lpp+j47BNK4LcNpAo3WpFpq6iWXt82PFTMZLDUXzI0w0sYhyAA AS83FfYsN+hTFSQwGwjpnI4PkH6An54QjfVFfsLSI3yHNwLyRWl6yKXMzvKahIO4aUmD W9cMDTxJ8qzb7aRDqA4dDAnaVinVj8/jZvSsVdzKxlaINc0gEQnyPxkn/hjlbe3hUK2x RFjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G9Px+xh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si7280428ejr.689.2021.02.12.16.10.02; Fri, 12 Feb 2021 16:10:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G9Px+xh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhBMAH0 (ORCPT + 99 others); Fri, 12 Feb 2021 19:07:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:53626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbhBMAHZ (ORCPT ); Fri, 12 Feb 2021 19:07:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 44DBE64D5D; Sat, 13 Feb 2021 00:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613174804; bh=6m1MgblqVpx2ZL9Qb/ULnnRME03jhhV7p1Q36nSaUdY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=G9Px+xh1+C0b30Uqy4encAJlGjMbAWpLfR5SAqO9vaRJbBjxE9UQYVrpp0yBfBIMS 23goH7nV09kbpsgRisoN4zPe4DFtI2ayczc53Vt4TAOFQLjeqOYiihoCDoOuCM0qTx zZH53/j5K6S6+SH18reXPp8rjn42X4eAuz5djM3M0fqQURKKGdjgXsufRcvgxKB85K rwlecfi/HU/SAIDG3IlMTY6GyUv9o50ac2ncy/AId4c8BZroJp6QJarB4Sc7r+cnfU TKDDPIwg7hmISxx1hZBHfSNx2Sne12k3j1vqou9djofxPikw29IuOj9Ct5p7u2nExT pOX7KrfmUSClA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210212223739.GE179940@dell> 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> <20210212092016.GF4572@dell> <161316374113.1254594.14156657225822268891@swboyd.mtv.corp.google.com> <20210212212503.GC179940@dell> <20210212212630.GD179940@dell> <161316754567.1254594.9542583200097699504@swboyd.mtv.corp.google.com> <20210212223739.GE179940@dell> Subject: Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, Ahmad Fatoum , Andy Gross , Avi Fishman , Benjamin Fair , Bjorn Andersson , Boris BREZILLON , Chen-Yu Tsai , Emilio =?utf-8?q?L=C3=B3pez?= , Fabio Estevam , Geert Uytterhoeven , Jan Kotas , Jernej Skrabec , Jonathan Hunter , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, Loc Ho , Maxime Ripard , Michael Turquette , Michal Simek , Nancy Yuen , Nuvoton Technologies , NXP Linux Team , openbmc@lists.ozlabs.org, Patrick Venture , Pengutronix Kernel Team , Peter De Schrijver , Philipp Zabel , Prashant Gaikwad , Rajan Vaja , Rajeev Kumar , Richard Woodruff , Russell King , Sascha Hauer , Shawn Guo , Shiraz Hashim , =?utf-8?q?S=C3=B6ren?= Brinkmann , Tali Perry , Tero Kristo , Thierry Reding , Tomer Maimon , Viresh Kumar To: Lee Jones Date: Fri, 12 Feb 2021 16:06:43 -0800 Message-ID: <161317480301.1254594.16648868282165823277@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lee Jones (2021-02-12 14:37:39) > On Fri, 12 Feb 2021, Stephen Boyd wrote: >=20 > >=20 > > I'd like to enable it for only files under drivers/clk/ but it doesn't > > seem to work. I'm not asking to enable it at the toplevel Makefile. I'm > > asking to enable it for drivers/clk/ so nobody has to think about it now > > that you've done the hard work of getting the numbers in this directory > > down to zero or close to zero. >=20 > I'm not sure which one of us is confused. Probably me, but ... >=20 > Even if you could enable it per-subsystem, how would that help you? >=20 > How can you ensure that contributors see any new W=3D1 warnings, but > Linus doesn't? When Linus conducts his build-tests during the merge > window, he is also going to build W=3D1 for drivers/clk. The assumption is contributors would have compiled the code they're sending, but that's obviously not always the case, so this assumption relies on developers running make. If they do run make then the hope is they would see the warnings now, without having to rely on them to know about passing W=3D1 to make, and fix them before sending code. If developers are ignoring build errors or warnings then we can't do anything anyway. >=20 > All that's going to achieve is put you in the firing line. Ok. Is this prior experience? >=20 > From my PoV W=3D1 builds should be enabled during the development phase > (i.e. contributor, auto-builder, maintainer). By the time patches get > make it into Mainline the review/testing stage is over and only the > default W=3D0 warnings are meaningful. >=20 Alright maybe I don't understand and W=3D1 builds are noisy for the drivers/clk subdirectory even after applying these patches. Or it has some false positives that won't be fixed? Or a new compiler can cause new warnings to happen? I could see these things being a problem. I'm trying to see if we can make lives better for everyone by exposing the warnings by default in the drivers/clk/ directory now that there are supposedly none left. Shouldn't we tighten the screws now that we've cleaned them?