Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3258325pxb; Fri, 12 Feb 2021 13:29:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyO0IRpwzTVyqugNqjwUv28P2bQur8um0S+C2u1V13HrsusFOeMVe35E0dXoOet2CfXM02V X-Received: by 2002:a05:6402:5112:: with SMTP id m18mr5413783edd.129.1613165399160; Fri, 12 Feb 2021 13:29:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613165399; cv=none; d=google.com; s=arc-20160816; b=hxatH55YQyJlDzKpoScy96HvxKhh7/ggGQEIz25gub9A+WgmIItsY2vHHHSs13a/wy 3jZe5pctrXN7LmAqOBB2Cvla5RZaZTRbeuCLsnMtwm9c55yisNya4aKknN5DfPdMKKcM HcZRn9YkJTD02GbaWI9+YEs8P5NglW8kn3+65J02++Zosi8pUflTbADsfqGloID5JEzg 1mQa72/0jWifaEASrkS23gPTp7rWMmKPfER5aM0G8a0+kjs17ehQXxjiv96MDvTsD0zS A0WhyTMgicMQD2fecWVh4m87QkdItBiSz2xEKm/lsY9xlP2Ddu+lY6az/NzhEiIT1hWb yVxg== 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=HkqR5YSUfK4R7W+GTGeLr6TmDe+FVUBEEGrvMyCm10g=; b=dc5xgMuvT0Z5vVUdKMr6CYZlIkANi/m6LcdJIpQwJynyHHoiJ/D0eY0p0Ee38jNDyI 33ZHh+92CEDyZyDOkLdDSVh7CSX2RdiaYJIdKdR+iITTW2eiOOhuzQPC7e614Lv6ucOX Ph0fLXjH2Q+bovwo7e/VSkYlYEIXuYHXI/NeCqZGfbBWRnjXHJ1uB+4lj3aBZlqcD0fu CjD55aWQgx6iMAH1VXyjrlzp64/kkE6Cg5WqwWfvMAXaozefPSP41pfXadA5/52tMKEL zl6L7CnE2CWyFIxD6zxNKPxxNOB+U3eI7NHOCHlNVqu1ASgenpf/AaqoLvCLQY4nU5h+ C/Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wCztQqZU; 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 w12si7344171eji.480.2021.02.12.13.29.35; Fri, 12 Feb 2021 13:29:59 -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=wCztQqZU; 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 S231289AbhBLV1W (ORCPT + 99 others); Fri, 12 Feb 2021 16:27:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbhBLV1Q (ORCPT ); Fri, 12 Feb 2021 16:27:16 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EC99C0613D6 for ; Fri, 12 Feb 2021 13:26:35 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id b3so898427wrj.5 for ; Fri, 12 Feb 2021 13:26:35 -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=HkqR5YSUfK4R7W+GTGeLr6TmDe+FVUBEEGrvMyCm10g=; b=wCztQqZUFSS/X/WEM0InWCZNFakC6lQFsTg6aJtdu88LFShwneNNLtMRalXdQJvUs6 5evSk694b24/YVfDEEc/B1iu9d/+VjeWtfSZWgjthK1okpOejm5J+I4lPkbLlvJrgK+K FFpx44bpkZVEmaDzXQxQv6LKAubgLEU23K+ttitzUnGsnanYpQOFLlokkEPeNzRGjc+G H2ErjCRpx01qGB+SS35MeyN1Pofa0/lVPlXPeZo8VMsEIXYMXdfT7PJWFXY1vfjV4fD6 R5h+Ye3mdrVZSDoH8UWfbMONpTSeR2vXQf5lWCdMYzDrVbZ6WYjGANmbNJiz3Q1jE7JU wSqA== 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=HkqR5YSUfK4R7W+GTGeLr6TmDe+FVUBEEGrvMyCm10g=; b=dFIM0xaPThKUq1Vimq73KiK8L7nP0h3mvbdVVveOTmh6VeEVxbeVTO0mGqk7NDRXj4 49D+rpPCdQ7nt+stj9TGEP3UndAj944nWGEu8IvYTOqEbVNFQ+jLZsxnWOmK51MEzTf6 okU5UAr7fevh0KJ3vbzJ4yet/C3rP2WBcr8iy310pwDERNBCAmcSKCphXIVl2mmNBkuF HPoLMIypU8X0gNP22clhAaYllUMG/+Tif800KXVGhHQtT5J49Up+6SOarsP2C/heW6XZ 1U02DsCBTgswpLT+tnA0XR7xYT7kvFzpVSmFReJy8Zh05Z1IOu9O+mZNHKXo21rPquFd QBUA== X-Gm-Message-State: AOAM532Kn4EX3YNA+uafxXpeNidY8apF1lBqQEMeCdxCp5ZVLY1682CQ DLgjjwORygrkvk8mrGicn6u1sw== X-Received: by 2002:a5d:4206:: with SMTP id n6mr5508432wrq.213.1613165193851; Fri, 12 Feb 2021 13:26:33 -0800 (PST) Received: from dell ([91.110.221.187]) by smtp.gmail.com with ESMTPSA id t17sm15384396wmi.20.2021.02.12.13.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 13:26:33 -0800 (PST) Date: Fri, 12 Feb 2021 21:26:30 +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: <20210212212630.GD179940@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210212212503.GC179940@dell> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Feb 2021, Lee Jones wrote: > 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. Just to add real quick - my advice is to enable them for yourself and send back any issues along with your normal review. A W=1 issue is no different to a semantic or coding style one. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog