Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2800257pxb; Fri, 12 Feb 2021 01:23:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJhcBvdXzFKNbOCMUcYQX8BKI4I7hdjONXT06kHDB5gInOiUxgMhrIVR+CNFkVS5L+WRR7 X-Received: by 2002:a17:906:388b:: with SMTP id q11mr2062529ejd.421.1613121816051; Fri, 12 Feb 2021 01:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613121816; cv=none; d=google.com; s=arc-20160816; b=HlLw/+IuezObYqs6+m5Kb1yq6AeUlAqO1pHXYrJQno/qwvA/4FBK3ak8DOR4zVNSkQ NEEJbpcg25LuU3iUUsklr+rbgh3/xIUmoG8hDRdIrcsvrErVTpNF7OrvaqTUqeISgLHF KcunanYIf53crAnDiy7/9JzwbOZSgHYhK5hFRxJf4tw47ma/3hGa+FYcVNlwqaHl7uXu /aiZeX8OTgLaVKFdxi7uAtXuOIgBgftSAgPVG6YiOjq3Li9XdVFN/ahaGOHn+exJay8t cZQeAmmAjt8TCDD1+VKqov95oROeSuLusvwTuzcEB8OaPIfFJZafdwrlqbqD2QXb+TXU JJmA== 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=bqamNlgMJwnX1NfLFZzeEkJ+qDBnsfEzOwlb2Z22/gs=; b=bqUcCK3GggedmVM+zCiHih/pIg42hk935AJiEZKO3+TVxbnGyaIeawGvlEUpbJfpH+ H2wdv/VY6laA/rKTnXoOX/Rl6QYeBoHlgrxnSsOpaDGzGZy9kWUplUHFaqgWKIgG7moN Q9qltrwYlihem2GdgmhELTkfatheK5fYdQEnsT4QXA1dDV/yi8bkbsxj2/9ZdaeIRevv k2Z69loEV7km/3NBjpnaBO0hbBNUxBCBfIqb0mW0Pv12XnFuU+MXVPS9A0dOx4VTV+Zg 3YdmKV9Qhq8M0Zo02G9+PLH8EFAQgQTtkpp3TgDFseJ+nS5fJuZbCitf82egzK8XPLYD yDZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QFvzjb1G; 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 k17si5892196ejg.72.2021.02.12.01.23.11; Fri, 12 Feb 2021 01:23:36 -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=QFvzjb1G; 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 S230039AbhBLJVu (ORCPT + 99 others); Fri, 12 Feb 2021 04:21:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbhBLJVo (ORCPT ); Fri, 12 Feb 2021 04:21:44 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA1DC06178A for ; Fri, 12 Feb 2021 01:20:21 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 190so296861wmz.0 for ; Fri, 12 Feb 2021 01:20:20 -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=bqamNlgMJwnX1NfLFZzeEkJ+qDBnsfEzOwlb2Z22/gs=; b=QFvzjb1GkmDAeWGmn0HBsLlJ5qWtRzXU3LQZdoxoTZf9a7D0uxaXnwTzEi3yg3K+R6 0KxRGJAJ40ru1Jy+eFG3H628g1eUsLyx62qGM9QYm3wRfMsp2GN045FaOhN8hM++OVa6 9FmtkdB8GGwPPcX3fBFQiEzdjM0yiklqoeJZS3RxJdYdeWoU6cxjyqVMcdmt0asZRjlD cWNvyF51ci/nq/9S/KpoRK3wKuMMN2LcrjgBWQ355U+hBe1RHZKPgxjejrHDvUIK/QRZ UUHuVY3UTJBxhEoGoYvYIDX2kMO8XxAv52ByEvaY6JnnjJacsF9cwmlvuWp1vrsd08GC 9DTA== 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=bqamNlgMJwnX1NfLFZzeEkJ+qDBnsfEzOwlb2Z22/gs=; b=iGSQe7vOZXGpbelJQpRcHPkGOYom0jUqi4DLtz1dRBGpvN2RCGlXfpcVZMiqZ1RaAG MAAu3ZcvZReMiZdQEyy6wz9Vge0bQnIqt2IQ8yZ6zV4hn9rkOzgCB5Ccu2FC9IjjggcX 30RDOvzLaLWUAICwfJ/BG4Plk7avqCxtQFvK5RtUOGGGbMhiYFZeplBkmWAbL535cHXT CLMfH+9TsCIYq5NF8Es35cUeX90POPxA7k9TLlE4mBsta7M8bDudM3yEP7jSf198ICsZ wGZpW+KjHK9qI7/T2S2UWSRD5t4x6x7VFakAGg1JEtM7ppcA75XE03zVcjbWJ1gf7C+U qNTg== X-Gm-Message-State: AOAM532rCYrJATn5QcuPlZdMJPwME1d3d9jNB8v0+HqLmwQrozeYO8xv 3taFr/oiWhyAHNbjGWZj3eH2AA== X-Received: by 2002:a1c:113:: with SMTP id 19mr1795873wmb.7.1613121619466; Fri, 12 Feb 2021 01:20:19 -0800 (PST) Received: from dell ([91.110.221.187]) by smtp.gmail.com with ESMTPSA id x4sm9178784wrn.64.2021.02.12.01.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 01:20:19 -0800 (PST) Date: Fri, 12 Feb 2021 09:20:16 +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: <20210212092016.GF4572@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <161309925025.1254594.6210738031889810500@swboyd.mtv.corp.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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