Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1694453pxb; Mon, 13 Sep 2021 03:28:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmgbS1qF/SMoyyODZ9JtzMLsqlHvvieJs12+BoTg33sBXf9IOgrgtpSlWeJxJFRD/yR+w6 X-Received: by 2002:a17:907:3f18:: with SMTP id hq24mr11889409ejc.384.1631528930723; Mon, 13 Sep 2021 03:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631528930; cv=none; d=google.com; s=arc-20160816; b=sgwZ7DR5yqhT/0dELkltMpfXbv38Zlc98BBraazWHbaxRIcTDy1pMxdWgERrHAGy+m dlRn/UgKRSOyje+mG1D1y6hAZnM4N7s3IntBNL7mWNUKlrW7cVUujB+ADsRV3//n0yIo 051oBcRvnYulXhTXaunTKiU425gicXx7S8jfqDzT5cchSnDcUyLWLJEVkKbOrK6hkSWx kBlh9aJjb8SvhLtRCmh9t8QZIXY55ZAsQZ4m+YGT0+NWpdnSq0wYG7wUrKe5iKY9fNmo v6UN/0gvuF/wCrLMkYngf1bd+kIB/VoUkyvF3qHhyGmgGrir4zlUMG4A7/xTWzxrsTrH v/bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=SOPlZFAMPClXBZCfwbNCO6ZuRL0ISwqYuPYoh7YqMhg=; b=h20nb5S57H3YwPQpoBTdM7KCVQn6bl/gGVgjWjKGcDwESIe+W29WMCVMPIIiPkmyuz 03C/mlCh2rLGXce3o5HzVcQ+nZQgqj+/JZRXBoKPsvVVPZi38L9y2VQwwUZeRh/5Tez0 3jNaNldsyvOw+nVh7gPNDuB6ftcZE9rwHybMMaaugWkmBa9irhBXj2Gub3JpnUQPaq5r QQCqJwzNgDpwfE2REchBcD0SiVUtsb5ZlQ73DPTa5iL4TosWhSX2COO/ob1e7rQUX0HC eiCl6eat0zkd6ME8oFoaKV23/Oka1l4D1GqeD0Nn3cF23BGd37jRWdOgFp20Euuo52Cd YrBA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j4si6946177ejm.726.2021.09.13.03.28.19; Mon, 13 Sep 2021 03:28:50 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238880AbhIMKDt (ORCPT + 99 others); Mon, 13 Sep 2021 06:03:49 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:59950 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238444AbhIMKDs (ORCPT ); Mon, 13 Sep 2021 06:03:48 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 25E301C0BA4; Mon, 13 Sep 2021 12:02:31 +0200 (CEST) Date: Mon, 13 Sep 2021 12:02:30 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: Randy Dunlap , Linus Torvalds , Marco Elver , Nick Desaulniers , llvm@lists.linux.dev, LSM List , linux-toolchains@vger.kernel.org, Arnd Bergmann , Guenter Roeck , Kees Cook , Mark Brown , Masahiro Yamada , Nathan Chancellor , Michal Marek , Andrew Morton , Vipin Sharma , Chris Down , Rasmus Villemoes , Daniel Borkmann , Vlastimil Babka , Linux Kbuild mailing list , Linux Kernel Mailing List Subject: Re: [PATCH] Revert "Enable '-Werror' by default for all kernel builds" Message-ID: <20210913100230.GB11752@amd> References: <20210907183843.33028-1-ndesaulniers@google.com> <20210913093256.GA12225@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="St7VIuEGZ6dlpu13" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --St7VIuEGZ6dlpu13 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Do we really want developers treat warnings as errors? When the code > > is okay but some random version of gcc dislikes it... > >=20 > > Plus, there's question of stable. We already get ton of churn there > > ("this fixes random warning"). WERROR will only encourage that... >=20 > I will not be backporting this patch to older stable kernels, but I > _want_ to see stable builds build with no warnings. When we add > warnings, they are almost always things we need to fix up properly. Well, everyone _wants_ to see clean builds... unless the price is too high. > Over time, I have worked to reduce the number of build warnings in older > stable kernels. For newer versions of gcc, sometimes that is > impossible, but we are close... You clearly can't backport this patch, but for 5.16-stable, you'll have it in, and now warnings are same as errors... and I don't believe that's good idea for stable. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --St7VIuEGZ6dlpu13 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmE/IbYACgkQMOfwapXb+vKcjQCgsx/nkYPj+Zfb6WZVMcX1mNgO QQcAn0SIZwPJI7cQj6g6p75gp2KIo6FC =iJmG -----END PGP SIGNATURE----- --St7VIuEGZ6dlpu13--