Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp697683pxb; Thu, 9 Sep 2021 09:56:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCHEFCk7DUvVOcH6jBF8YsimcVuspVq1P4zs/PeVeOPvzj76CA5y1uqtejQCiAl5JK1zXX X-Received: by 2002:a17:906:2f15:: with SMTP id v21mr4419485eji.444.1631206600084; Thu, 09 Sep 2021 09:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631206600; cv=none; d=google.com; s=arc-20160816; b=Urk++cVzeorG4xAEZ0LMEO/UTnRsUaWbgKv80ao7p+62mACagxG/BOwFJQmeT69Y93 gGgOCKIb16q69vjrx9NJSme/GF5DIgWniYlIDxBa1/yHKuZiwuDrBoZhsb1wG5BZ1Rp8 SP+BDe1wTlgK13b/+gN78HByVjAXBTZjCbhXhK1cVWFg8k+6pTFPglwHskDyXfgLMHQZ PW/7zw82QequPKUA1rdlHfViQ+sSGAkNNjzl9LoNbnWUnJ6XRq61sRcattfVZtbtZoo6 3yvQXH5fS+sPvgBnUYN7P07nOrQt1kh0x0qBfyfHAdAud9F4/A79hrGRYgWlr2DWfWrl k1Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6u9UXBJqq0DvpwbwzhX2UgLgOMc73mPLE0iuNkQUyLg=; b=P8E2Nf8fR/O4WWgJRppKgRAwRFVLAMjrasLDogeCojyeY6GIoKYcNLzM/v/jDMwAGG iU4oIo6rSyZQtra47pOL3YkYR+m8VYwoEwxm13bVGAUnpVq8STy5BRz5tPbiFiFnkRUc rFN8dyzDpwHPjLMLbZoL9m7D8YcffuHWDN4wetsf/5StSS58XHcyb4RzyorD8NkDN4Y4 nVY5AJVX2o+duTUSezWJ2B7Tc30ejd6EBFLbyNfol0aADYt4wPQA/CTagyJ5/UzNBjh6 hpd1lzt6OAM1earS2mqkpleE3JHOqkKnh6WtclHvbjy/Q2MTSKXq+O7Yw5HX3z2PgIyO NJvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=c3sO1BQB; 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 p15si3296128edj.97.2021.09.09.09.56.12; Thu, 09 Sep 2021 09:56:40 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=c3sO1BQB; 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 S239072AbhIIQxS (ORCPT + 99 others); Thu, 9 Sep 2021 12:53:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237092AbhIIQxR (ORCPT ); Thu, 9 Sep 2021 12:53:17 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 689E0C061574 for ; Thu, 9 Sep 2021 09:52:07 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id a4so4958585lfg.8 for ; Thu, 09 Sep 2021 09:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6u9UXBJqq0DvpwbwzhX2UgLgOMc73mPLE0iuNkQUyLg=; b=c3sO1BQBDxCW8APZUbAlW9nwWGjPxn+LQp0JgfliDLXRZzDRVo3j7/1R4pPWKE+xNx UbgmU4XAmaM891Bx14LElamvax9VI3JEUCFywjuYbWwv0nvT93I+fRhltOoT4VSe8vnz QPRBUEbBxEv21a9fqhAw650AWuxptlmMiPwqE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6u9UXBJqq0DvpwbwzhX2UgLgOMc73mPLE0iuNkQUyLg=; b=G8cuW607K6KGROwNgMXfVk+pWIL2j/u/RuTT5Y8CZbBtWJguwW84cSU/cKg+0n0NYx sYg6TC5vEy3lsQS3pHUb0c7AemX1ue4sC/JgHbxgJICCgE798TXG5fATXcgw+K7nZsax 8s5YyJujiplvsZqC1tr3B8MKYrPxtQKp5YKDjTI1Ihg4sey7MLlRS0KswV5wsO4Q3/Rk TNxl/Yls3SbRgcCmXG99VRW/MF0l2ZSspp/ECPULyHzp5r0wB0fs1HHPbiITe8m8CUD2 drRIwK252/FKG3VaY6H6MFuIg9tWMkQ/25qX0EeviUPcHh3H7u4aQGPyQYoahS3GLvTB JsWg== X-Gm-Message-State: AOAM531rJWbhiHILmisgm47tONHNtj5POHPE0FDVFRCnkn/1h00bOvD/ kDhN/JRaOBpk7wyWAkwqsbI4SIZh3vBjBB9sAhs= X-Received: by 2002:a05:6512:2089:: with SMTP id t9mr568443lfr.529.1631206325406; Thu, 09 Sep 2021 09:52:05 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id v22sm254297lfd.79.2021.09.09.09.52.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Sep 2021 09:52:05 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id m28so4980147lfj.6 for ; Thu, 09 Sep 2021 09:52:04 -0700 (PDT) X-Received: by 2002:a05:6512:1112:: with SMTP id l18mr609222lfg.402.1631206001151; Thu, 09 Sep 2021 09:46:41 -0700 (PDT) MIME-Version: 1.0 References: <20210906142615.GA1917503@roeck-us.net> <75a10e8b-9f11-64c4-460b-9f3ac09965e2@roeck-us.net> In-Reply-To: From: Linus Torvalds Date: Thu, 9 Sep 2021 09:46:25 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Enable '-Werror' by default for all kernel builds To: Christoph Hellwig Cc: Marco Elver , Guenter Roeck , Nathan Chancellor , Arnd Bergmann , Linux Kernel Mailing List , llvm@lists.linux.dev, Nick Desaulniers , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Andrey Konovalov , kasan-dev , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , amd-gfx@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 8, 2021 at 10:59 PM Christoph Hellwig wrote: > > While we're at it, with -Werror something like this is really futile: Yeah, I'm thinking we could do -Wno-error=cpp to at least allow the cpp warnings to come through without being fatal. Because while they can be annoying too, they are most definitely under our direct control, so.. I didn't actually test that, but I think it should work. That said, maybe they should just be removed. They might be better off just as Kconfig rules, rather than as a "hey, you screwed up your Kconfig" warning after the fact. Linus