From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CEBAC4320A for ; Tue, 27 Jul 2021 19:10:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F241C60FC4 for ; Tue, 27 Jul 2021 19:10:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbhG0TKN (ORCPT ); Tue, 27 Jul 2021 15:10:13 -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