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=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 B00B1C2B9F7 for ; Tue, 25 May 2021 00:59:53 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C688613D6 for ; Tue, 25 May 2021 00:59:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C688613D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA3C682F42; Tue, 25 May 2021 02:58:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="sx2X0SrB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B5C382F9A; Tue, 25 May 2021 02:58:25 +0200 (CEST) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3365282FA2 for ; Tue, 25 May 2021 02:58:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x730.google.com with SMTP id j184so6821079qkd.6 for ; Mon, 24 May 2021 17:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Ohg5aYYYDr7YKNxbzyBqH45OkM89WDL3FXQWrwEO/mc=; b=sx2X0SrB+NZYeoiW/KQpz8u5qL9J1oRHnBcfSdDfdYAkTZ9jxYJBjADNH3RoH/K6/b tqNOjwOf3IY6eoVC9G9/+csT40AUJWOK6+aH+Ge2xcpxK1NCLxLVsV5yuC6LWyG/XETN dMV4DeQm6z1NbazRRc+HIZOj9C3dJ3xbACXSM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ohg5aYYYDr7YKNxbzyBqH45OkM89WDL3FXQWrwEO/mc=; b=V/6ovmBYLh3SiqT4cwCp7MElzDOwn0O5BXhhhfi3P/Hna6LQgDe0RexCvvTspy/JVV g3GSIJWLXdDVptB2rHjoHFU1C4FR4SMvtPJ8JlvteLIIfcwE39N+AaY5IHe9WuK/tqvb BL+MRr0E6ZjngU4KPV8hHGde71LuTvgYZwkqaGzdM14htDUnsuEEDDmbt2ddJhcjG+L3 BzPmmAZ7LWEf8bjnfaL/pedsL86QIljOxe0y/nhP0cgCtc4MtCTqymK3YW9CUGHz37Ds VPEdD9Hxb3mS4WCv9aevKofNnbZXDoOCHtfknF9kqi7Z6I+RqL4fPJac1VgYDt9NqAkp TETA== X-Gm-Message-State: AOAM531wfoUli4g1/ZL8dpnMKX7/lTNJEYJ1tOhMpE91NqEOQIBr5jci jhzO+U8wWoHOVogGe1Kb1z4DeW4l7cVHTA== X-Google-Smtp-Source: ABdhPJxklubs/PjbE6eofrUlCsWzv6Sa1213IWP6xAhKuppRiUGwSzSf7jwtakbKKcWWrS6YgAbUKQ== X-Received: by 2002:a37:444a:: with SMTP id r71mr30160530qka.381.1621904291992; Mon, 24 May 2021 17:58:11 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5ce8-9acb-4a3a-47a0.res6.spectrum.com. [2603:6081:7b01:cbda:5ce8:9acb:4a3a:47a0]) by smtp.gmail.com with ESMTPSA id i14sm7321012qkn.99.2021.05.24.17.58.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 17:58:11 -0700 (PDT) Date: Mon, 24 May 2021 20:58:09 -0400 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH] pylibfdt: Rework "avoid unused variable warning" lines Message-ID: <20210525005809.GT17669@bill-the-cat> References: <20210524154727.30163-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RKMqBh1S6ra1OB41" Content-Disposition: inline In-Reply-To: <20210524154727.30163-1-trini@konsulko.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean --RKMqBh1S6ra1OB41 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 24, 2021 at 11:47:27AM -0400, Tom Rini wrote: > Clang has -Wself-assign enabled by default under -Wall and so when > building with -Werror we would get an error here. Inspired by Linux > kernel git commit a21151b9d81a ("tools/build: tweak unused value > workaround") make use of the fact that both Clang and GCC support > casting to `void` as the method to note that something is intentionally > unused. >=20 > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --RKMqBh1S6ra1OB41 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCsS6EACgkQFHw5/5Y0 tyyk2gwAhIOULGNFMCUioPgeP0bebThnII3dRkZw3iLyOOzbqbyJ3HMrEHe3ulqC cbxeskRtJcHKScJMY+mVsWKJajjvMFR3mrrwEnVde82UIeM4hvso6MCp67mJfOhs Oc41Gkksll+kRSQEpFF7JttBiIZ+2W/TDntbik99Y8kjmuN3fLxaGM02+sk6R9iR 5zUtBwfZGuw0V/c9qwLaDVOQcP+8BoTqx/7yRHtOqU00uYTPgfolTSm0sM/9O2DI azR1sSiV85qeoT4x24VlO049KNFG79+L0WRtxfqSs+sUt4Wz0pYHrvtq+vKiF5JU wWs1ZAhGo0WMtBkJoBgvzZy8KU/b4raDV8khPCyuUNVfIOVpRE4MwKApGdOb6JLZ lzfPtlZ+WBsbS82W+smI63pUAs+HoamVo4WEH/wpAHy9oq2dj1bHf1eevphqeI63 8wKUl99Y7MOgCfV+CwoB/D2o7Cq7qikert2un2t+cJny5TbXVe796ia1OIyIb4FB cdoKiuiU =BEzM -----END PGP SIGNATURE----- --RKMqBh1S6ra1OB41--