From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.44]) by mx.groups.io with SMTP id smtpd.web12.32352.1585503484874915048 for ; Sun, 29 Mar 2020 10:38:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=EO8yJXFi; spf=pass (domain: arm.com, ip: 40.107.6.44, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vhHbA+K/sGLvt5xl9fx2IGUT0ygwanJUmfp7C1sFPNs=; b=EO8yJXFi59SjwZziDkVfGZZDrzi58DXv9ESTIp83Fr6YNBRjSDs6rvelFfwq67BVAVbaV0HJ5OncxR1apmtbkzVDkc8cQkpyb66Y9dyf1pmNLBNkSjt0r+FG1isBGt4E4AgczLwOqiCx7qfp0XDek7EFb/OQhdfJcdcNWTX6XKg= Received: from AM6PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:20b:6e::44) by AM0PR08MB3796.eurprd08.prod.outlook.com (2603:10a6:208:100::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Sun, 29 Mar 2020 17:38:01 +0000 Received: from VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:6e:cafe::94) by AM6PR02CA0031.outlook.office365.com (2603:10a6:20b:6e::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20 via Frontend Transport; Sun, 29 Mar 2020 17:38:01 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT021.mail.protection.outlook.com (10.152.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.17 via Frontend Transport; Sun, 29 Mar 2020 17:38:00 +0000 Received: ("Tessian outbound 8f06d475fc37:v48"); Sun, 29 Mar 2020 17:38:00 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7f4c4100174446ff X-CR-MTA-TID: 64aa7808 Received: from c4f4d59cd5cf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 60290DF6-D8F2-49BF-89AF-59767B30EA43.1; Sun, 29 Mar 2020 17:37:53 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c4f4d59cd5cf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 29 Mar 2020 17:37:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gFRRyyj05Hb3JIJCmRYo8Vwpnrv/4nIrijOFar+5KDyxxGNRKw5HYazjpU52euy3X/kz7YLTVFemZslqLNTH5R30TlAlbgF7LC+mxDrYRTF93k2OkWPLoEZ5InE1VEYXWPtMHpZRwWF2bZTbr2OCdeCf94vZZyGvAPo1ewVE/Oe5oIsDHborSVq2S4UcKSzBM97uAYEuFczK6rLW8w5a+/KoBWw76TK3CI4loHEcgIFS+B9Vk7vd1ACikgWI9WCnNh9yN1ICc8xVUOVRaecakJg9OOmyGsBrHwHdOTh09Yony+5yCvgRbto+em3Wp8WyUw9MDBGuG1VqhTJg4FFWmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vhHbA+K/sGLvt5xl9fx2IGUT0ygwanJUmfp7C1sFPNs=; b=A7kktgmp0LW6m3JlD9wEcV3EZ8tWRZMiWypxQWaqKNmWBWbx7w9/62JZDAtN6ULUjTbXdHxwv5FsfEHxU4YqCQrChDKZP3T4tIe8QVVCd14BnCxTwmD+OimxyJiIFfAKHBlQeAHKcD4+9RCU5DvKCWczrxKHyt56AY6oWwHNfHLXF7GnI6yYXGf2q4Evq48HSZSCb8vTIlYsyqo+89I8S0+pwvIPU2XPgCJL0MLSeEIu5OJmqc5iW3PG181BKrSLQGiwDmiVTvuEm9wtexiLzktcTmxV5JCVVuypbgQfQkJ4T47uFaAkD8qONwAM6j/JB6amwtYIwP7AfO4lGzcvOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vhHbA+K/sGLvt5xl9fx2IGUT0ygwanJUmfp7C1sFPNs=; b=EO8yJXFi59SjwZziDkVfGZZDrzi58DXv9ESTIp83Fr6YNBRjSDs6rvelFfwq67BVAVbaV0HJ5OncxR1apmtbkzVDkc8cQkpyb66Y9dyf1pmNLBNkSjt0r+FG1isBGt4E4AgczLwOqiCx7qfp0XDek7EFb/OQhdfJcdcNWTX6XKg= Received: from AM6PR04CA0027.eurprd04.prod.outlook.com (2603:10a6:20b:92::40) by VI1PR08MB3888.eurprd08.prod.outlook.com (2603:10a6:803:b8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Sun, 29 Mar 2020 17:37:52 +0000 Received: from VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:92:cafe::75) by AM6PR04CA0027.outlook.office365.com (2603:10a6:20b:92::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20 via Frontend Transport; Sun, 29 Mar 2020 17:37:52 +0000 Authentication-Results-Original: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT054.mail.protection.outlook.com (10.152.19.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.2856.17 via Frontend Transport; Sun, 29 Mar 2020 17:37:52 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1415.2; Sun, 29 Mar 2020 17:37:50 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Sun, 29 Mar 2020 17:37:50 +0000 Received: from E107187.Arm.com (10.57.20.21) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Sun, 29 Mar 2020 17:37:49 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , Subject: [PATCH v1 1/2] DynamicTablesPkg: SRAT: Fix entry points Date: Sun, 29 Mar 2020 18:37:47 +0100 Message-ID: <20200329173748.7288-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200329173748.7288-1-sami.mujawar@arm.com> References: <20200329173748.7288-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(346002)(136003)(396003)(39850400004)(376002)(46966005)(8676002)(44832011)(47076004)(2616005)(426003)(8936002)(81166006)(81156014)(336012)(4326008)(2906002)(356004)(70206006)(70586007)(36756003)(316002)(478600001)(82740400003)(54906003)(5660300002)(7696005)(26005)(6916009)(186003)(1076003)(86362001);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8fb9b9e0-c6b1-4793-49cf-08d7d407ed68 X-MS-TrafficTypeDiagnostic: VI1PR08MB3888:|AM0PR08MB3796: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4941;OLM:4941; X-Forefront-PRVS: 035748864E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: YzJ//8Cfb/zkuTtbu2NPY6WYRd3OXBoxs9Pl4zAyb2oVm3PgAqAzA2D60k82aXTC6Q15RA9uPEMdgbFSeHjkfaAXjKiCqZjnmziW5RWkaK3Qt93IotNv3GvzogJ73ookwp+y4/flPvZ/We3dziDJ03h4dTXU8lLNdd9AYe5TJ8dw5cSJQLJH3v4Y9nwNfSCwB2/eNOgy/DmwtpsQq8bNYyAkQIbEzt9ZCV3Jr2EyuEM8aDXRmZUluaacqb0kQbVERFHIpUHSTAAY3syCliiburclFZ5gbqT3kvCTpqRek+/fHKk2mgP6Ipqj8JnS3cH48tfuJzDSNYrkpxi5RQhbsxZmrL9aFUPq08j8+/Z6Go/UTJZMUBY9ogLQedow9IkLbrsoHxxisooeVBl1nIrZ9Cu5uoGETJTpb05+uLkVPVvQCokKf+uNP0YsPmFQOQCy8pV0Dr6+KFGo/Ho/krWOb8GPvQnzCrrtBMthYs8i6rVnoBSnW4w1S3HOTA/Pc0Yas4sCUADvbiHCZwp7rvji3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3888 Original-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(39850400004)(46966005)(36756003)(70206006)(478600001)(36906005)(316002)(70586007)(6916009)(82740400003)(47076004)(1076003)(186003)(426003)(336012)(26005)(86362001)(26826003)(8936002)(7696005)(8676002)(2906002)(81166006)(81156014)(5660300002)(2616005)(4326008)(44832011)(54906003);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 29e6de44-4694-4c19-4d48-08d7d407e863 X-Forefront-PRVS: 035748864E X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Se0y9RmqPnPjrD7vatn/hz5eEaObD/94gFNCf3VUuK9M3REXRWB6jv11hN1B5NhNh8azq2tHcAw/Ls3ardh31ohav8Inikqz9oJYZMOkJOtprp521iphfoB0aTGLOEivTqYtp1LwPbV9UO9JAwNPKff1TD+EygxUwUXCb85Vka6JDyuzk35fWOFgblNMEAbovY9aKO84PejHL04XFW9DZUUYikyKBWibzMAThcpT2Hs7YtfxGk7esPdt5V3Gu+8wbkWYCE1cswpRoEHfEVb/Z9LCRSgqdUeHMX86QxgxdJItSHRSEBDnrZ8Dut0NLgWWBJLBpfgh4iwNDgriO1AaqREmrOGoMbFMgG7elWzen320rvBpCPAlhpP7XIyKKyOIMZTHolSDq1JziHOoxH4OXKVsvnpe425kczl+h0ly0MHYyDqXmE0t5a6ddmMG1sfN/3XyWuW/Y+WAzBxHTvLccsToeznWt2B1TvADyFUyMzhp7KInL1/UNzpKftXUmoSRANIDRcJRiSSjll2a10kDGg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2020 17:38:00.8048 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8fb9b9e0-c6b1-4793-49cf-08d7d407ed68 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3796 Content-Type: text/plain VS2017 reports 'warning C4028: formal parameter 2 different from declaration' for the library constructor and destructor interfaces for the SRAT Generator modules. Remove the CONST qualifier for the SystemTable pointer (the second parameter to the constructor/destructor/DXE Entry point) to make it compatible with the formal declaration. Signed-off-by: Sami Mujawar --- DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c index 5d56af66608d862e6eca81da812d719f110867d2..74cb7d92a5d8cddd3df8334f3ab55e6fa3e7267a 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c @@ -800,8 +800,8 @@ ACPI_TABLE_GENERATOR SratGenerator = { EFI_STATUS EFIAPI AcpiSratLibConstructor ( - IN CONST EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE * CONST SystemTable + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE * SystemTable ) { EFI_STATUS Status; @@ -823,8 +823,8 @@ AcpiSratLibConstructor ( EFI_STATUS EFIAPI AcpiSratLibDestructor ( - IN CONST EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE * CONST SystemTable + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE * SystemTable ) { EFI_STATUS Status; -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'