From nobody Wed May 15 12:08:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+87534+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87534+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1647249784; cv=none; d=zohomail.com; s=zohoarc; b=KMZKKD8jfegLX1LkrI6wMY4Ie2MEzTYUdEKpwyqhzr6M9XU0E9NarW9OUhob8Pm96VpiJS+5go+ZVGRzWaDiKzn8arunVmBcNwmDxH6P++iPBauEgZJeakuEQxXGIMF9mjKt25KkOx+KO4iCw1mLa6HV5Hl1Xd6wcah/1SJNW2Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647249784; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=OKfadrWcDR9ab4Wu08NvOyBLT7mutG+vQ9giFXsl8/A=; b=iaUvBe1PMD/zODll9d/fGvj2Zu5az03rvYjMHIRkv4SSthQ1zUkWFlBRH0YnjEa1tx/UxglC37t5wdOzWE4vxM9yo4wUJUpk4wJ5qvbMpvBTPz0/xTfgoypzRS0B7yY18HDoQlvMcsnAZkuNHFUo52KsXUWoN+cOP+9+BIbbdbQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87534+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1647249784541935.6065713148383; Mon, 14 Mar 2022 02:23:04 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id E2JtYY1788612xTX0DyIJN5M; Mon, 14 Mar 2022 02:23:04 -0700 X-Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mx.groups.io with SMTP id smtpd.web08.24094.1647249782457358407 for ; Mon, 14 Mar 2022 02:23:03 -0700 X-Received: from kwepemi100004.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KH9w160rbz9skR; Mon, 14 Mar 2022 17:19:13 +0800 (CST) X-Received: from kwepemm600004.china.huawei.com (7.193.23.242) by kwepemi100004.china.huawei.com (7.221.188.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 14 Mar 2022 17:23:00 +0800 X-Received: from kwephisprg16640.huawei.com (10.247.83.252) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 14 Mar 2022 17:22:59 +0800 From: "wenyi,xie via groups.io" To: , , CC: , Subject: [edk2-devel] [PATCH EDK2 v1 1/1] ArmPlatformPkg: Fix ECC issues Date: Mon, 14 Mar 2022 17:22:53 +0800 Message-ID: <20220314092253.3518832-2-xiewenyi2@huawei.com> In-Reply-To: <20220314092253.3518832-1-xiewenyi2@huawei.com> References: <20220314092253.3518832-1-xiewenyi2@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.247.83.252] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,xiewenyi2@huawei.com X-Gm-Message-State: OKvfYejU3XHoUMFiRUXaHTCUx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1647249784; bh=di+C2/MkS+2g+Xu5FVhUlfcjvGbhPGkKTb3hHPfxxM8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=RMuJT820+Cez5j9cIGBLgBIGT3Ei8BuddGQb6lDf4/5enwA5fhi6nBGAy2rEpg+Ql5O U41M/3tHK0ptkwoeEjBPU5xONiTYlaQJ5BHv+jarITQbJSQAehZX+wDlPn2CF5o29Al4S QQQU6xDUyThglu3kqLDgcd08uEVtT7eG05w= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1647249786168100003 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix header files on #ifdef. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Wenyi Xie Reviewed-by: Sami Mujawar --- ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.h | 6 +++-= -- ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h | 6 +++-= -- ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h | 6 +++-= -- ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 4 ++-- ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h | 6 +++-= -- ArmPlatformPkg/Include/Library/PL011UartClockLib.h | 4 ++-- ArmPlatformPkg/Include/Library/PL011UartLib.h | 4 ++-- ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h | 4 ++-- ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h | 4 ++-- ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.h | 6 +++-= -- ArmPlatformPkg/PrePeiCore/PrePeiCore.h | 4 ++-- ArmPlatformPkg/PrePi/PrePi.h | 6 +++-= -- 12 files changed, 30 insertions(+), 30 deletions(-) diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.h b/ArmPlatformPkg= /Drivers/NorFlashDxe/NorFlash.h index c83032e87d9c..c8b567d0c413 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.h +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __NOR_FLASH_H__ -#define __NOR_FLASH_H__ +#ifndef NOR_FLASH_H_ +#define NOR_FLASH_H_ =20 #include #include @@ -419,4 +419,4 @@ NorFlashVirtualNotifyEvent ( IN VOID *Context ); =20 -#endif /* __NOR_FLASH_H__ */ +#endif // NOR_FLASH_H_ diff --git a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h b/ArmPlatformP= kg/Drivers/PL061GpioDxe/PL061Gpio.h index 42d87a16a3dd..3117f0abe2b3 100644 --- a/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h +++ b/ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __PL061_GPIO_H__ -#define __PL061_GPIO_H__ +#ifndef PL061_GPIO_H_ +#define PL061_GPIO_H_ =20 #include =20 @@ -39,4 +39,4 @@ // All bits low except one bit high, native bit length #define GPIO_PIN_MASK(Pin) (1UL << ((UINTN)(Pin))) =20 -#endif // __PL061_GPIO_H__ +#endif // PL061_GPIO_H_ diff --git a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h b/ArmP= latformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h index 597d6911fa10..f6a332fda247 100644 --- a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h +++ b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __SP805_WATCHDOG_H__ -#define __SP805_WATCHDOG_H__ +#ifndef SP805_WATCHDOG_H_ +#define SP805_WATCHDOG_H_ =20 // SP805 Watchdog Registers #define SP805_WDOG_LOAD_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBas= e) + 0x000) @@ -38,4 +38,4 @@ #define SP805_WDOG_LOCK_IS_LOCKED 0x00000001 #define SP805_WDOG_SPECIAL_UNLOCK_CODE 0x1ACCE551 =20 -#endif // __SP805_WATCHDOG_H__ +#endif // SP805_WATCHDOG_H_ diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformP= kg/Include/Library/ArmPlatformLib.h index cd87743eba52..cf056808fedf 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef _ARMPLATFORMLIB_H_ -#define _ARMPLATFORMLIB_H_ +#ifndef ARMPLATFORMLIB_H_ +#define ARMPLATFORMLIB_H_ =20 // // The package level header files this module uses diff --git a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h b/ArmPlat= formPkg/Include/Library/NorFlashPlatformLib.h index 6ef5b70e9948..37c0a69a6d07 100644 --- a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef _NORFLASHPLATFORMLIB_H_ -#define _NORFLASHPLATFORMLIB_H_ +#ifndef NORFLASHPLATFORMLIB_H_ +#define NORFLASHPLATFORMLIB_H_ =20 typedef struct { UINTN DeviceBaseAddress; // Start address of the Device Base Ad= dress (DBA) @@ -27,4 +27,4 @@ NorFlashPlatformGetDevices ( OUT UINT32 *Count ); =20 -#endif /* _NORFLASHPLATFORMLIB_H_ */ +#endif // NORFLASHPLATFORMLIB_H_ diff --git a/ArmPlatformPkg/Include/Library/PL011UartClockLib.h b/ArmPlatfo= rmPkg/Include/Library/PL011UartClockLib.h index 5814d960a663..0e279dda62ce 100644 --- a/ArmPlatformPkg/Include/Library/PL011UartClockLib.h +++ b/ArmPlatformPkg/Include/Library/PL011UartClockLib.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __PL011UARTCLOCKLIB_H__ -#define __PL011UARTCLOCKLIB_H__ +#ifndef PL011UARTCLOCKLIB_H_ +#define PL011UARTCLOCKLIB_H_ =20 /** =20 diff --git a/ArmPlatformPkg/Include/Library/PL011UartLib.h b/ArmPlatformPkg= /Include/Library/PL011UartLib.h index 964142ef64a3..18638ce9ef7d 100644 --- a/ArmPlatformPkg/Include/Library/PL011UartLib.h +++ b/ArmPlatformPkg/Include/Library/PL011UartLib.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __PL011_UART_LIB_H__ -#define __PL011_UART_LIB_H__ +#ifndef PL011_UART_LIB_H_ +#define PL011_UART_LIB_H_ =20 #include =20 diff --git a/ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h b/ArmPlatformP= kg/Library/PL011UartLib/PL011Uart.h index 8433a81aeac4..f5a5fa193df2 100644 --- a/ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h +++ b/ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __PL011_UART_H__ -#define __PL011_UART_H__ +#ifndef PL011_UART_H_ +#define PL011_UART_H_ =20 #define PL011_VARIANT_ZTE 1 =20 diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeCloc= k.h b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h index 00b3fc99ac14..ebcb8a1e9906 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef __PL031_REAL_TIME_CLOCK_H__ -#define __PL031_REAL_TIME_CLOCK_H__ +#ifndef PL031_REAL_TIME_CLOCK_H_ +#define PL031_REAL_TIME_CLOCK_H_ =20 // PL031 Registers #define PL031_RTC_DR_DATA_REGISTER 0x000 diff --git a/ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.h b/ArmPlatformPkg/Li= brary/PL111Lcd/PL111Lcd.h index 0d4fe387c54c..d4f9dd82de83 100644 --- a/ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.h +++ b/ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.h @@ -5,8 +5,8 @@ =20 **/ =20 -#ifndef _PL111LCD_H__ -#define _PL111LCD_H__ +#ifndef PL111LCD_H_ +#define PL111LCD_H_ =20 /********************************************************************** * @@ -140,4 +140,4 @@ #define PL111_BIT_MASK_LEE 0x00010000 #define PL111_BIT_MASK_LED 0x0000007F =20 -#endif /* _PL111LCD_H__ */ +#endif // PL111LCD_H_ diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCore.h b/ArmPlatformPkg/PrePei= Core/PrePeiCore.h index 0345dd7bdd2a..acc145696d28 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCore.h +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCore.h @@ -7,8 +7,8 @@ =20 **/ =20 -#ifndef __PREPEICORE_H_ -#define __PREPEICORE_H_ +#ifndef PREPEICORE_H_ +#define PREPEICORE_H_ =20 #include #include diff --git a/ArmPlatformPkg/PrePi/PrePi.h b/ArmPlatformPkg/PrePi/PrePi.h index 6074a22108d2..b27148cf5d03 100644 --- a/ArmPlatformPkg/PrePi/PrePi.h +++ b/ArmPlatformPkg/PrePi/PrePi.h @@ -6,8 +6,8 @@ =20 **/ =20 -#ifndef _PREPI_H_ -#define _PREPI_H_ +#ifndef PREPI_H_ +#define PREPI_H_ =20 #include =20 @@ -85,4 +85,4 @@ ProcessLibraryConstructorList ( VOID ); =20 -#endif /* _PREPI_H_ */ +#endif // PREPI_H_ --=20 2.20.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87534): https://edk2.groups.io/g/devel/message/87534 Mute This Topic: https://groups.io/mt/89769611/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-