Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3258229pxb; Fri, 12 Feb 2021 13:29:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvY+qlIWVBvHxTgGdAQoF0R5B0NoNJSMEr9KbKucke9qwQE/694ZXhmSpGxhzXidjEDrW4 X-Received: by 2002:a17:907:10c1:: with SMTP id rv1mr5047962ejb.74.1613165386723; Fri, 12 Feb 2021 13:29:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613165386; cv=none; d=google.com; s=arc-20160816; b=DXFfc/2WlmcIJceR2dQC0WaZYq5q8mCnruaiaxZGEYjI5YjWyXtIm9YancPgSDmeH+ WWV0MM44ZwDTIkNiJBhEA4qkeMmCzbcf5OyoCsqsyXa7cRg1bRwB12/XvnALn9EdAz5P IQycCMpjEHoQPPzumLsP8BJ5ue8HHJUkj0eKFAusFaDmz9gkPreTExbOFWcPhoxMqtEk y/Dwr86/o28UT9wpZnH5F3PdXg/OpBgg9lpiCZSz9cPV4eNfrIjIHIfly7Sl9gZGd7uA G+SW2+k3uydwQeq4Uv6bRCbo/E0X1vlCyX0fhjvZi29rL9Z1O7WsDxtQa0khuxzuQJfH z8Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YjjHCq+AaBj0XRYyjJcKHPRmimymXfzCaBl7Q8eWwy8=; b=WZ3m4Zw3zrGmpaVY/ks1D1qZl4CicU1OCRIIWAgQBAwGyYQjsvBwgfRYc6+cx5aIAc qF87p3wfKZrwW9mmWYUwb7D1FfulDItg2PxOjDzY5Pcoc2sC8kQ0mgdAv1+zJ/mPSvQp KrNGHqtYV0G1YgmXwFRYTlrTjaq+u7sW+fL/TmCdJ46EUrTgGypZZwqKe/u+j3b+5RZB fqFq/SbusOYf1Wf6lKQ+PdKH0nTjFgD65IHeDa2chPrhHStb60OPD2IGjvAVycK5rC6/ 5P7cyq5o0O6h5tjTwVytRhM/g0V9l94DCai3mtSxDYh5NMxjg0/yTFII7HNcx2ns56RH qpmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="g/+ng38w"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs15si6688536ejb.579.2021.02.12.13.29.22; Fri, 12 Feb 2021 13:29:46 -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=@linaro.org header.s=google header.b="g/+ng38w"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231175AbhBLV0h (ORCPT + 99 others); Fri, 12 Feb 2021 16:26:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbhBLV0b (ORCPT ); Fri, 12 Feb 2021 16:26:31 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F40AC06178A for ; Fri, 12 Feb 2021 13:25:08 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id b3so894878wrj.5 for ; Fri, 12 Feb 2021 13:25:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=YjjHCq+AaBj0XRYyjJcKHPRmimymXfzCaBl7Q8eWwy8=; b=g/+ng38wC9WYIlhYgvh782IXg97sbu5H2bHQg1fy7G4fxRCDUpCXZYdC+JCdpR4XNl Yw5Ma7Df7VSTosK+Dg8OVl4GkjbrkQcBOr9Xiq3HfIy9rrvpOLM2OJiDkwlwkM0SFDI7 UHSwSicLZ6LJXAz3TisYUsBt/xJ8jWyYX8BzM2Lo009dLjxp53FC9tvnepVgjRZMbFd/ bXLNUHrFZbj2ddXflBkWLstEStL9n2VuvHN0mRzmIUfonYou48N1YYdJ+uVOhxISaRBi OG30sLac+3Ch3ksBfi6z1dNsNZnNSXnslZ3W5X7fM7+KJoRbR9grInEhcZoLtiUcbf2V /IZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=YjjHCq+AaBj0XRYyjJcKHPRmimymXfzCaBl7Q8eWwy8=; b=K6h6svttm+MqcVbc5olS0M97kNSBECiMvC8edH7ZG4iPc8oD/zi8BOKx/jDsSuZH5k or6R5A/hMagW+euRAREivsorXUvEHbSuP65QMFycBwD8Ny4tBSkFrQJT+HRAc/5kXr1K bdaKZtsqKdna+THmW13x2CzQqYfiC/JLfPYEWkgBgOKknhQYDCDgS2BjRocU+thoo+n6 Oy2iotJIjZotZOBMSo4ubJXPFAZnes6xRwD/MfI3n4/NN8HYtS54zSon04JwHeNyPya/ pmwCLhYDCS8m04KadKkd0ocCcoBe4BpPT69YNv9p16nJ/t1cW1xMsryq8Gr18fLTwXmA vtlQ== X-Gm-Message-State: AOAM533+d5f9URb98WtLLGzvHQMp3LbxDbBkG8lRT8C0bPD1hBW0vAws WjOR311/ZEbl8ZKAdRB67lZ9HA== X-Received: by 2002:a5d:6a89:: with SMTP id s9mr5614295wru.407.1613165106841; Fri, 12 Feb 2021 13:25:06 -0800 (PST) Received: from dell ([91.110.221.187]) by smtp.gmail.com with ESMTPSA id a16sm11571760wrr.89.2021.02.12.13.25.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 13:25:06 -0800 (PST) Date: Fri, 12 Feb 2021 21:25:03 +0000 From: Lee Jones To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, Ahmad Fatoum , Andy Gross , Avi Fishman , Benjamin Fair , Bjorn Andersson , Boris BREZILLON , Chen-Yu Tsai , Emilio =?iso-8859-1?Q?L=F3pez?= , 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 , =?iso-8859-1?Q?S=F6ren?= Brinkmann , Tali Perry , Tero Kristo , Thierry Reding , Tomer Maimon , Viresh Kumar Subject: Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock Message-ID: <20210212212503.GC179940@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <161316374113.1254594.14156657225822268891@swboyd.mtv.corp.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Feb 2021, Stephen Boyd wrote: > Quoting Lee Jones (2021-02-12 01:20:16) > > 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. > > > > Why should I install a land mine for others to trip over? Won't that > just take them more time because they won't know to compile with W=1 and > then will have to go for another round of review while I push back on > them submitting new warnings? The alternative is to not worry about it and review the slow drip of fixes that will occur as a result. The issues I just fixed were built up over years. They won't get to that level again. In my mind contributors should be compiling their submissions with W=1 enabled by default. I'm fairly sure the auto-builders do this now. Once W=1 warnings are down to an acceptable level in the kernel as a whole, we can provide some guidance in SubmittingPatches (or similar) on how to enable them (hint: you add "W=1" on the compile line). Enabling W=1 in the default build will only serve to annoy Linus IMHO. If he wants them to be enabled by default, they wouldn't be W=1 in the first place, they'd be W=0 which *is* the default build. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog