Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4632455pxv; Tue, 27 Jul 2021 12:11:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYbRfaLHBf5jYrjgZOYLCmRznx5ZiKxX8kpJCAR7Fezi2M8lNpZZ5w6dxOqruokEDqbQcX X-Received: by 2002:a6b:8d0d:: with SMTP id p13mr9591953iod.8.1627413078593; Tue, 27 Jul 2021 12:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627413078; cv=none; d=google.com; s=arc-20160816; b=Jk12eeTkjBIIFCwx2I87QwokhpAxaDpIqEIZyIrziluVhQyfmytGhllsmKXgU4ru3y Vqyd7+foh3g4g1cDD6/bknOyfEs/pbSzbU/M8YFACCQT+XgAS8mRC2YPBM326Q76G23d n7ApQ5d6Z0dCUlDU6eBdG21zh3rZRz+odf65gBcTmGtg8LL2RqUIYk5Xfo02+eQ8Bmjv vkWh0rpL/JJncetfLMAZRrmq7PKXkOBe2ze0eYI3/ZKEx6gDv+sLf6o/QdpTtso4OjVD JlldUFXgQTAW/j56LQ1JLq3C6IaR+f00WBvRaRcpulqy4fRdZY4seNY1ngNm+hUKfS2j iozA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=rgZXZPoFYMm5YPK1fR+eJ7D1ln26Rr49W4Snp+/P698=; b=i6/N4ifAQCIIQkbRzQHthoMsnUvABAIQgio/rDoJt/IF7XtHjeVPLMywl1z54a9d/B mSvA6SQM1vbtWVxptkAL53MiwlsUYufZhvdCULfqEP3bOWHHCdX7cL61iUn3Lin/LjiX iq49+NwM7JHfsxbVfA1CJtnLWbtDsdtbB8Rvef3+eeVaul8zdrgv9nlKY5nqbsGsLlSQ R5+WdbpgKECfn/FRyuWIjsni8XxErW8aTcz3orY14WS/x2Hfywwtpzn1CaaR7RmJ2a5t DAfBPEhMwM2nct8OqepGv3kZpDA/dzVJsbdWA3m9nLZIi+grapmNSyyQIf54jQfkbkA0 Cy0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZzN8+XtW; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si4434967ilc.54.2021.07.27.12.11.05; Tue, 27 Jul 2021 12:11:18 -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=@kernel.org header.s=k20201202 header.b=ZzN8+XtW; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbhG0TKM (ORCPT + 99 others); Tue, 27 Jul 2021 15:10:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:52418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbhG0TKM (ORCPT ); Tue, 27 Jul 2021 15:10:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 31A9760F9D; Tue, 27 Jul 2021 19:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627413011; bh=pbJoQXdSHk4Q/Ty1FB8ff96IEn4YhOF44MyV2EZMumQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ZzN8+XtWSLhJODEygVCWzfkxTdaB4rt4VigjaMU4/0CeejHhpn8DWBi4ROZMOOvGR fkBhPeIAGj4aMOE/qmIcx/TgPhbrcBixYGAZVOzvpefAdZo77Bv/Smzp7hTKoVw67D 5UyG79bBnvtb3nd5xPtCZGeD/igiMca7bPzXLcr/qpPXB5CipYbyv6+FklcxUiX5NI LfZ0yL5v0BbEg7JGOBPmvKHGjOC1A4JELDwtrzEzAcU7AbwSsUquv0YbnoOiU5zKwz 8Tpgobk5OV888DTx/69hZUK37xyPFGM5d5cUCbM3UpwbO8rOdAMtkXoSXiMUVqDnWb VZEzc5eAtpZfA== Subject: Re: [PATCH v2 1/3] base: mark 'no_warn' as unused To: Nick Desaulniers , Bill Wendling Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , clang-built-linux , LKML , linux-toolchains@vger.kernel.org References: <20210714091747.2814370-1-morbo@google.com> <20210726201924.3202278-1-morbo@google.com> <20210726201924.3202278-2-morbo@google.com> <0fcf5740-2e0f-4da7-be58-77822df54f81@kernel.org> From: Nathan Chancellor Message-ID: Date: Tue, 27 Jul 2021 12:10:10 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/27/2021 12:04 PM, 'Nick Desaulniers' via Clang Built Linux wrote: > On Tue, Jul 27, 2021 at 11:32 AM Nathan Chancellor wrote: >> >> On 7/27/2021 10:39 AM, 'Nick Desaulniers' via Clang Built Linux wrote: >>> Isn't -Wunused-but-set-variable enabled only for W=1 builds? >> >> Maybe Bill's tree does not have commit 885480b08469 ("Makefile: Move >> -Wno-unused-but-set-variable out of GCC only block"), which disables the >> warning for clang just like GCC for regular builds? > > Looks like 885480b08469, which landed in v5.13-rc1, so that's a > possibility. Should that be sent to stable@ so that we don't observe > these warnings for non-W=1 builds of stable branches with newer > versions of clang? It is already in all supported stable versions. Cheers, Nathan