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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no 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 B4218C4338F for ; Tue, 27 Jul 2021 19:12:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9608D60FC0 for ; Tue, 27 Jul 2021 19:12:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230153AbhG0TM1 (ORCPT ); Tue, 27 Jul 2021 15:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbhG0TM0 (ORCPT ); Tue, 27 Jul 2021 15:12:26 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DA21C061757 for ; Tue, 27 Jul 2021 12:12:26 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id da26so16777154edb.1 for ; Tue, 27 Jul 2021 12:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sRkgBmb5lzfe4Hlal/Pv7E6WEWM5a1jmj8pFy4dSgsA=; b=DxveKnIun/w3M8tKtwl1ZWwd6hI5DhWiwmZuarvWeDvpYPodXlKjYWoJMciSaYLIMH Ur26JsNO8IFDK/mvaI0GPuHgqlQUstFt8X8gXP1cBspUT7BHplZGQyu05i5lLiFkZ9Lf pPReF6aUrqaU/3g6BtNVRmMW61d/YuHlMuUh9uCBeTvAUt2FSU//XASIy2RWXUNnDw0Y Rz18W03G1V3nT6eJtNEwWshe+juc0+inycDxo0hHq9cBQ/1uph8WtvMScY8lBjUKvxiC nWGatM/C0PeBwwoZ25PjtMn0G1sr/krLuLsIAE/TRahCnVikA1c+rBAaCQs1fUQH31AZ YFnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sRkgBmb5lzfe4Hlal/Pv7E6WEWM5a1jmj8pFy4dSgsA=; b=FLjyx6oi5DHCjZ7BT3TxPLCmVJmamBjNMVtOxa+JtC+ASZhT63O3jIy6TeGs5jQnrU OJASbC8YgebiM6b3HbQDskV9QwQA+px8YriYrpyfE0DUkZDuFOHpoQgPzfNIYhz3sUfV MByrVgXIIgnoaXooim+9BqjToNRf4dEtEHfCCTQxSvcpaKQCf0y1PpVR+APcLRFODFW8 Gtw4RjHryHzfljfXmnf3vYqapFDsPqN9uf8XNbUhWRVkyw/G9q0KRkwmFUSIjMHyU7VI 4NTHypM6rkUTDn1RRe71kAhW5fOYf+s7FKByXLH8zn+JaDSW18OBiPmXbedQbhgFICKN N+Qg== X-Gm-Message-State: AOAM533o1CMqVwIg9EOuR7pYIpjoUKfBm9o0eqlLSX7RXqiOwnwR7JQ5 COJGMsxdHzyieCMFtvWU0Vk3Lu67wK6STjFuo+bU X-Google-Smtp-Source: ABdhPJyG+/OuPadqagaupcUDSN3hvYsoqEsGLIubSQ2n8Jdp64B/1dGFnfPy3YkM2lyDnjewbJ3jo4Gf5/9y0I3Sn7A= X-Received: by 2002:a50:eb88:: with SMTP id y8mr12668309edr.70.1627413144739; Tue, 27 Jul 2021 12:12:24 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <0fcf5740-2e0f-4da7-be58-77822df54f81@kernel.org> From: Bill Wendling Date: Tue, 27 Jul 2021 12:12:13 -0700 Message-ID: Subject: Re: [PATCH v2 1/3] base: mark 'no_warn' as unused To: Nathan Chancellor Cc: Nick Desaulniers , Greg Kroah-Hartman , "Rafael J. Wysocki" , clang-built-linux , LKML , linux-toolchains@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-toolchains@vger.kernel.org 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? > Ah! I don't have that. It would technically make this patch unnecessary. Use that information as you see fit. -bw