Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 78378C77B75 for ; Mon, 15 May 2023 14:34:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 889448479E; Mon, 15 May 2023 16:34:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id F259184663; Mon, 15 May 2023 16:34:25 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 36B478479E for ; Mon, 15 May 2023 16:34:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 499992F4; Mon, 15 May 2023 07:35:07 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 956853F840; Mon, 15 May 2023 07:34:21 -0700 (PDT) Date: Mon, 15 May 2023 15:34:19 +0100 From: Andre Przywara To: Fabio Estevam Cc: Tom Rini , Simon Glass , Stefano Babic , u-boot@lists.denx.de, Sam Edwards , "NXP i . MX U-Boot Team" Subject: Re: [PATCH 3/5] freescale: fix header inclusion guard Message-ID: <20230515153419.19765feb@donnerap.cambridge.arm.com> In-Reply-To: References: <20230515135214.4083319-1-andre.przywara@arm.com> <20230515135214.4083319-4-andre.przywara@arm.com> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean On Mon, 15 May 2023 11:17:14 -0300 Fabio Estevam wrote: Hi Fabio, > On Mon, May 15, 2023 at 10:52=E2=80=AFAM Andre Przywara wrote: > > > > It seems like the header inclusion guard for some Freescale crosspoint > > switch header was misspelled. > > > > Make the preprocessor symbol for the #ifndef and #define lines the > > same, so that the double inclusion protection works as expected. > > > > Signed-off-by: Andre Przywara > > --- > > board/freescale/common/vsc3316_3308.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/board/freescale/common/vsc3316_3308.h b/board/freescale/co= mmon/vsc3316_3308.h > > index 49a684f9f49..8d343ba4d65 100644 > > --- a/board/freescale/common/vsc3316_3308.h > > +++ b/board/freescale/common/vsc3316_3308.h > > @@ -4,7 +4,7 @@ > > */ > > > > #ifndef __VSC_CROSSBAR_H_ > > -#define __VSC_CROSSBAR_H 1_ > > +#define __VSC_CROSSBAR_H_ =20 >=20 > The change is correct, but it does not match the Subject/commit log. What do you mean, exactly? To put *some* context into the commit message, I tried to find out what this "vsc" device is about, and found "crosspoint switch" somewhere (doc/README.VSC3316-3308). Is that not what it is about? Or is not a Freescale device, but just used by Freescale SoCs? Some T208 hardware seems to be the only user, though. Can you suggest a better description? Cheers, Andre