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 1C040C77B7D for ; Mon, 15 May 2023 13:52:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 11341865C6; Mon, 15 May 2023 15:52:24 +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 6B3B1865C5; Mon, 15 May 2023 15:52:22 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id B3D9B8475E for ; Mon, 15 May 2023 15:52:19 +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 B88532F4; Mon, 15 May 2023 06:53:03 -0700 (PDT) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.197.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 45D103F840; Mon, 15 May 2023 06:52:18 -0700 (PDT) From: Andre Przywara To: Tom Rini , Simon Glass Cc: u-boot@lists.denx.de, Sam Edwards Subject: [PATCH 0/5] Fix inclusion guards Date: Mon, 15 May 2023 14:52:09 +0100 Message-Id: <20230515135214.4083319-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 A patch by Sam [1] reminded me to check for misspelled inclusion guards. I wrote some crude tool, with a high false positive rate, and was able to find some other occurences where the "#ifndef" and "#define" parts were not matching. Those patches fix those preprocessor symbols. One header wasn't actually used anymore, so just remove that whole file. Cheers, Andre [1] https://lore.kernel.org/u-boot/20230512212214.130908-1-CFSworks@gmail.com/ Andre Przywara (5): imx: fix header inclusion guards arm: uniphier: fix header inclusion guard freescale: fix header inclusion guard exynos: fix header inclusion guard faraday: remove orphaned header file arch/arm/include/asm/arch-imx8m/sys_proto.h | 2 +- arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 2 +- arch/arm/include/asm/arch-imx9/sys_proto.h | 2 +- arch/arm/mach-uniphier/dram/ddrphy-init.h | 2 +- board/freescale/common/vsc3316_3308.h | 2 +- drivers/pinctrl/exynos/pinctrl-exynos.h | 2 +- include/faraday/ftahbc020s.h | 46 ------------------- include/imx_sip.h | 2 +- 8 files changed, 7 insertions(+), 53 deletions(-) delete mode 100644 include/faraday/ftahbc020s.h -- 2.25.1