Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5809917rwb; Wed, 9 Aug 2023 09:21:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeef3PlGwo4FECp/OcsuLazx4WK+9+mvjjwD1VFnMAxpkDZGWlzNin7yjS9pJPH1eCMD11 X-Received: by 2002:a05:6512:1048:b0:4f8:651f:9bbe with SMTP id c8-20020a056512104800b004f8651f9bbemr3050748lfb.54.1691598110764; Wed, 09 Aug 2023 09:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691598110; cv=none; d=google.com; s=arc-20160816; b=RN7I+hxYda2zQj4tKDRqHyQSq4t4n4zQ1VB/ytt4UihS5cLPudPoo+sha3kSSakom0 H2uUYcki9Hf8k6u+7gLagCYfjGyFvdqxljbGzf2fx/aPRjisCzTzC0mYmmRq8Y2HhQOY gQyxzOvYdTRkbEX0vK5YvNWp+Zgf8sQAG7waa6OcBcDQO3omKZ9MUz0b1KonuvMn0k00 k1vOxrCUYuKx5CKcG1KVHShA9vH2lmuu4583c6Xqtk7Nr3ZXHduoO++nbmoaGAZlZOKJ lz/+wKD1qsw/htqGmoorLY5joQ62YmPU1vN/2GGkpdDvtP21F29gar3FpN2JUjJEVY+p Zisw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tPmCD3hLfEfuWygG5x8Az6XzX5lGDP9qkbyRMrIY9mY=; fh=Acm+OY0Ig8NRvb8DRBD7x27dBHSyoLwGZAMT0IfOrLs=; b=PNAcnPA/ep84Tzxe4sIArl/ue6TZktNNdGzmFj9l4h7oql3dl00Z4XPzzKtfgve/Mb iO+WCLPPpuZy9nzKDMpPK3ZPVL3YZYD4k6DnfyJTrOIbclcTyyeUfUznN1B/fP4QxSd1 MEELJjaJ1M/PJpYIAla0dowk5APDrTJLUt/ycmQPXCdBMIYhXVkMYxOddi+BjQh0R5HO VRufR48viNAcc359STcLO/R2S65VJhxRa3u/Q848wwUbRvS7ZK0qEiPgT7lxVYZUGAqk Ns8BD39VghTBhEZfgE7cQG7M13k7pl6ivQMyQRXRpzph94pQghXfeiOdYFq2SPCF+TJf f7mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iEzcSNNG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170906168400b00991df467babsi8529332ejd.221.2023.08.09.09.21.25; Wed, 09 Aug 2023 09:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iEzcSNNG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233668AbjHIPmu (ORCPT + 99 others); Wed, 9 Aug 2023 11:42:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjHIPmt (ORCPT ); Wed, 9 Aug 2023 11:42:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E836B2111; Wed, 9 Aug 2023 08:42:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 75B6E63F21; Wed, 9 Aug 2023 15:42:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4347CC433C7; Wed, 9 Aug 2023 15:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691595767; bh=tPmCD3hLfEfuWygG5x8Az6XzX5lGDP9qkbyRMrIY9mY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iEzcSNNGnjgubucOpEHZfT0qtx6wcxq6bPjiSSPTFYhvT+GY4ORnpgg+BC/vLX1u5 KQEH6K+CzpitQiFM54CHLCkurgJI4W/BN/2biVuRJaMIYVQQD98TXkDu83jPAwooC4 znMjKysEhOO5FcTKLY08NQzWYNaKvO5qscfqohp1Y6fPsNgCa66QuDvkygKVsN1x9+ rZGX+ZYxx6UvmGfh6p1DatA8F4GmP2u0r5/qTbFamOMqBB9X2fzTpO0hUqv4AdcyWO AOPiIigMlXIIW7myvelKpsZ5JUPafCs9CmgXtBEhK5afBAXFK3hQUNLYwLii/lPwx2 BY0v9jubrNsFw== Date: Wed, 9 Aug 2023 08:42:45 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Masahiro Yamada , kernel test robot , Nicolas Schier , Tom Rix , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v2] Makefile.extrawarn: enable -Wmissing-variable-declarations for W=1 Message-ID: <20230809154245.GB832145@dev-arch.thelio-3990X> References: <20230807-missing_proto-v2-1-3ae2e188bb0c@google.com> <202308081508.EI3CRzQo-lkp@intel.com> <20230808161707.GA2171444@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230808161707.GA2171444@dev-arch.thelio-3990X> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 08, 2023 at 09:17:07AM -0700, Nathan Chancellor wrote: > I think the register storage issue should be resolved in at least clang > before this patch is accepted, as that seems to be where the majority of > warnings are coming from so far. Like we talked about, I'll take a shot > at fixing that. Once that is fixed, I'll build mainline with > -Wmissing-variable-declarations to see how many instances there are and > if there are any other interesting edge cases that should be fixed in > the compiler. After that, I think this should be good to go in. Does > that sound reasonable? I don't think there are any other edge cases from the brief glance I gave my build logs but my matrix counts 700+ unique instances of this (give or take some, due to interleaving issues). Quite a few but I see several in certain files so it might not actually be too bad. Cheers, Nathan