From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.83]) by mx.groups.io with SMTP id smtpd.web12.4681.1620813474821845227 for ; Wed, 12 May 2021 02:57:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=EDUr78v9; spf=pass (domain: arm.com, ip: 40.107.14.83, mailfrom: sunny.wang@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=lFa++C34rmKSi4xD9uXaC3vkGOx2UdWsSWeHfsPt9/A=; b=EDUr78v906MPQr0RSc6NRNN52D0H/yW6KpN/DT8Yr7ngD2QnK95tSQ38Losygz7rjCvkBAnVuntdt+X4FTrk8CnT7sN5A6VmxpI5osz+hp+29szZjblJwdL0olL/m6696FqBuZ/CgJhOf8g7bhEkc3v+pKNQVfqmllj392SAev8= Received: from AM6P191CA0089.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::30) by PAXPR08MB6509.eurprd08.prod.outlook.com (2603:10a6:102:12e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Wed, 12 May 2021 09:57:51 +0000 Received: from AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8a:cafe::52) by AM6P191CA0089.outlook.office365.com (2603:10a6:209:8a::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 12 May 2021 09:57:51 +0000 X-MS-Exchange-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=pass 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 AM5EUR03FT054.mail.protection.outlook.com (10.152.16.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Wed, 12 May 2021 09:57:51 +0000 Received: ("Tessian outbound 6c4b4bc1cefb:v91"); Wed, 12 May 2021 09:57:51 +0000 X-CR-MTA-TID: 64aa7808 Received: from 9e10e665bec8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A675CB85-DB3C-4ED0-BA36-2B13668A57FB.1; Wed, 12 May 2021 09:57:45 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9e10e665bec8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 12 May 2021 09:57:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JScEUBeP6y2dopxH39Mv46CsuMA6vLxx+9IHou2iTri6u5XeOCPpEjvaWgxalxZwcnonOOTPRx+CmNo8kUodM5ZrdgmusepacNyk4VUxFW70qfJR9ypzgqb8j7x2omisAcvwXjhEEX5nk7WnXUVE4ETrB9Ylqo3voYdbh7lZ+60tEqCC7eMKZy7jQcVRYawQTHniow4MyKVBupsZ0lM8AEV0xwanvuxYBGYAcRPizikPx/GC+kmZ+jbryUP5czi2HhNj4+yWAWUwGIBnrVwB1mKOi0To8JnEsky0hpoVJxWb8XtrVD6BchH1aoobloQi2FOLanWorRBAYO8eZc0BtQ== 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=lFa++C34rmKSi4xD9uXaC3vkGOx2UdWsSWeHfsPt9/A=; b=bolhkpTh+9zExss4y3wUX45WV8oxFv8dpR2IPcW5G+cn6YqeY5mq4K/X7+Gk2kRN7lZCjrSGnIumIdyOHtq/MrHxh+05/iMoHmeB6ZJPtveKQVndIAVW3OnQWURvzUTbLCK/a4ESxwiTNV1UU5YgqJDci1dlzwIv+MdQomr6d/dhiv6TpZtGt2KLin7SB7J9QB0fhze4Qk1+1XQ+xPTd0J09izoOx+UEQQQoHwNgCe+D5RXvz2yLPVw/zzbeoClvXiJJPElHO3t3jlLv7ORwBn0Z1uXLrAnPMirdrXTHz2AJz8vOA5KlKR6LPBI4OcTlVDzBW8BgbKCiCgZTxaff0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=lFa++C34rmKSi4xD9uXaC3vkGOx2UdWsSWeHfsPt9/A=; b=EDUr78v906MPQr0RSc6NRNN52D0H/yW6KpN/DT8Yr7ngD2QnK95tSQ38Losygz7rjCvkBAnVuntdt+X4FTrk8CnT7sN5A6VmxpI5osz+hp+29szZjblJwdL0olL/m6696FqBuZ/CgJhOf8g7bhEkc3v+pKNQVfqmllj392SAev8= Received: from DB8PR08MB3993.eurprd08.prod.outlook.com (2603:10a6:10:ad::26) by DB7PR08MB3595.eurprd08.prod.outlook.com (2603:10a6:10:40::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Wed, 12 May 2021 09:57:43 +0000 Received: from DB8PR08MB3993.eurprd08.prod.outlook.com ([fe80::9154:9191:b8a3:388c]) by DB8PR08MB3993.eurprd08.prod.outlook.com ([fe80::9154:9191:b8a3:388c%7]) with mapi id 15.20.4129.026; Wed, 12 May 2021 09:57:43 +0000 From: "Sunny Wang" To: "devel@edk2.groups.io" , "xypron.glpk@gmx.de" CC: Eric Jin , G Edhaya Chandran , Barton Gao , Arvin Chen , Samer El-Haj-Mahmoud , Sunny Wang Subject: Re: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: IHV: type mismatch in Simple Network test Thread-Topic: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: IHV: type mismatch in Simple Network test Thread-Index: AQHXHw+fbZd2OkiTb0O4ZKijTtReX6rf64nA Date: Wed, 12 May 2021 09:57:43 +0000 Message-ID: References: <20210322113605.43169-1-xypron.glpk@gmx.de> In-Reply-To: <20210322113605.43169-1-xypron.glpk@gmx.de> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A70ADE8F9D63E54196483BBF2B2BDD21.0 x-checkrecipientchecked: true Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [2001:b011:200f:2c3a:1082:4e81:1cf8:48a3] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: a51d7ac9-50d0-49ef-003f-08d9152c67d0 x-ms-traffictypediagnostic: DB7PR08MB3595:|PAXPR08MB6509: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:3044;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: yBSjHnjYaqOoEjBSmpY9+gsmXy/rXVddbSqUshaPuIbIeVbwFeQ1dbvGe8/pKpxLLn5D8Z6hW4VSBc1M/zPcMRvum5CPNv9jbKv76vlOHauiZb1fEu+ljy2q3RzP1HWFfH9Og4XadWU5sI+WGyN5hQp1XkGpwqFY/u8leDCq+l4ZtpiSUjwBTkie1ordH18KyVnpUESWGIOcKKwITU4XNYM2JVE5rqwtwHCnGbnzVe0e7WUk1DeXgtFZ9FQ7Tm7yFFfqSltR51+vGL/KF1bsPnft0Wznxbhk0PbsHvKKnCAKalkHTIBOuQ7pLKR7slgtA/8NFkFk/q50SUheVQ9xqVCQgZJ9CKu5ElmiK1y+FqMtJK/SBi926TKUNDIW3sV1vNpyeA4i+Jayxh0EiYVaMFF0w6Qw1r8anfi5RGPzT0lA8PzrFVQPRR6/wB5fa8zEOmjIXAoNhuAfiuUyLO64/uTB2qqkDrECDOiYqN6H+hFvoZLRlv9klKLd0taP3Wolnu2ZnuQVjFRdJ0J5Y3tbunpn7J9LB2ojYMr0OlRFEpfRQyIXVwOfBGxXy9omelwoCiD6pOEnCkhHZxfLBNfy4jUZwZY+UXE/PwGrpb9Sw7u+jW6WfUszEUe0hup8QPo9gMV5cEq58Gs7gwNIun5pQ5loUqaetqmZGUso4ShFVJEDomQU36wtKR40yVW3453aiQArt2xEMKBAO2tL29+F7M478qkjkKdjwpxUzOBsExc= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR08MB3993.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(54906003)(66946007)(83380400001)(76116006)(2906002)(55016002)(8936002)(110136005)(52536014)(8676002)(86362001)(71200400001)(186003)(966005)(5660300002)(316002)(7696005)(53546011)(6506007)(122000001)(478600001)(66446008)(66556008)(4326008)(38100700002)(64756008)(66476007)(33656002)(9686003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?2QQ4++hmTRRZodEyFqEGTorcQL1PzAs1ga6RnH7TWBQM/JejLxIUQkF7gnBm?= =?us-ascii?Q?DN7B3w+nHIHsIjYdjabvKEKxKIZjss6zGeDk59QRuEH4WLKlCJXa2zHZCJa8?= =?us-ascii?Q?ZTXSDPJsjKOZwvBrExT7n79r24hEcqq60ihSDUYxahqIkWtU/3tJDZ0z65oA?= =?us-ascii?Q?L4gmRNvyTA8yGtdnH1t5KwABI9gwlhPrtCBMALOV4iyft7xou6wT6TIIAk3K?= =?us-ascii?Q?kKkp1icjatrcIJWIyWa0732Z1NSsT9o1JRKIhTWHIVV67ahHdXbm2yGNTcs9?= =?us-ascii?Q?i/EtmKi8YMj0hesec47XxXalh5kRzjbXPIzov7MXIaZ4wZqTQ4EgAbuRILRU?= =?us-ascii?Q?xDJ0TyVKRyHUnEQLoPtrgJxQFygImwAs4xuMjSbpDoW5ngR6u2/P9omTET5C?= =?us-ascii?Q?yPSuiegrFhxrbpegOXH8thD1yP/Aa3kRJgSz0T8J6GhMyED+b5Oy7Xj7RWjB?= =?us-ascii?Q?izo4Gr2KQ5QXC/3rlK3l4HN6t/SyoVbbnvrPG6qgstdq0j4FMdg3Nt5rQGhl?= =?us-ascii?Q?GYcsmGQrgfa6gZo7wX6O4N3n0NkQY1aF1APzZM3W0vXRaxYodKLPoPrl3bd4?= =?us-ascii?Q?dOV2yurZGuvtPdqSB4HlGVRhHrX9UYComvinnsuc30ItQ9uDdbBB5V2ywCXG?= =?us-ascii?Q?rv4it9SrnIUGS0VBaDM1s/mRZwBTgO3N9Mxfkl1VgBpwGZULFxQlPnuAc/lE?= =?us-ascii?Q?B2X81m1IO2r15YJNsHQfo8M0ipDPT+Ytr06DOvKKYrzzpdmZbRr0OMTaneUZ?= =?us-ascii?Q?r8aHVivUwAWFBdLuDcoHIXknKLdAfe6mEZ6Bj8Nas8QWK6/j/eg4xbNZ+LKQ?= =?us-ascii?Q?2SPDBE1+OgfNzSwyYs/MdeMtz2Coz5B64vpydFTuJmyLz1Ok2/PhHABQBhaG?= =?us-ascii?Q?D8jzi4ymvc1EnUsUgpKsHYuyhRDAPbAhIc24yqWlvEM6yvF5V5EVFAR0gzn8?= =?us-ascii?Q?3vWusH416Ngy26+mevgflmDtgsih1MrIavW6f5StzgaI0vmri2pz7Ur0B0ND?= =?us-ascii?Q?UaNPSZHcR0nrwbhJvbYWkaJzunHWuroeHcVL0954mmAtOIfq+oQTtI17EgzM?= =?us-ascii?Q?OvmPgWTuW5nM+FdJ5kYO93THRX5Hqfnperr/UHdZVEpoQG4/wfFYbTAwebSl?= =?us-ascii?Q?VPMuafS+ZOaWcP4GNWEioDWgl1qRD65/OvDrRiMsUb5sgPdY49YQJ4b+aGyi?= =?us-ascii?Q?gtPAyydq2SzSPKrCwOkChOQe6fnjBzOu0xv5H1dVdqm8U3Ou18YJ9Gl3tgG8?= =?us-ascii?Q?OOFg7GaxJkw3y3ymg9e5VbeHF1euf6pv+nYgQTRegSp4pYptcY9Lbf7WteVJ?= =?us-ascii?Q?DXm5XS8edXSg6c2iIoH7Si0mcoVvTpiziI0n9QDPRXdo+Fgc1yYXONdp0BZ5?= =?us-ascii?Q?77f1KTuDDcQi3zqyNw3/BW6Dddri?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3595 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Sunny.Wang@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 535ae268-63fb-4811-fbde-08d9152c634b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vWVMJAEt9co7W9mbS1o+9qLd3BuDdlNL/idlulNQBS1DXPJw8EWxorkxkQkg5Fyi0WpZmkybbhP7r1BdVyWEjN/928UDY19/Nla+h1Hy2gG4hvXfrF3lia0zKZx3TnnkryLVJn42p0yc1EXz7KauMo8TFugE3FIpwdrzcLgExDypLrvK5jVoF+BHAOCte4/kRoOEOAr3ZY0XxkCJZ5lOHfq9MIWjeDurI2cYiBGglf4nltQGYcjw6Xcrz6vGG9aH5n/ytC2nlMfs97cWER1e5BCmwTx+GaNGwTrGNHxZKuQYTFCg9KskclRLyWmD4NNeL7vQMEXViwzOToJ2KV61kw3B1Z6g155+KVmPGqeohHEOOhn3HV9mPqQUfKIUBi4gzUIJTZWS//AJ7TROu1/Plw3AB5lycffTMCXGTdGjE+Sb4xduHBJXeAanuLU7Bicp3JLqVfJTTkwW3OqaYhyHtjwXZTw42Z4EKdoqy7sS/qAqHY0CEC5fLI4RCQgUd67d/Mo76igpHvHrMmkIWcNSSe3LTDdM4mi9KV9bzaeMr4Vt5a97H+13F1of0WZqAOh6dMFVgyhC/w7t68Ti1BhvdZhkyaKkvdk4+QZxzjqCiI7sKsRI1nIhGsRrmlB3GjqI5IL5G88WQx3lUVo1HlCnxt5u/cVP+6IGb7Bl+8vygQB4x71V3aS7dyCGRVc7/xCelfTwuN58vDN+XAGD7UevxuplcTWG1NgO4Li5fb4fixpV9GrvS4oJys4QMVVExNzi4pmLBJqLa6uAL65bOxmtiQ== 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;SFS:(4636009)(346002)(39860400002)(136003)(376002)(396003)(46966006)(36840700001)(82740400003)(86362001)(82310400003)(52536014)(33656002)(55016002)(4326008)(316002)(9686003)(70586007)(26005)(2906002)(53546011)(6506007)(7696005)(83380400001)(186003)(8676002)(478600001)(336012)(54906003)(110136005)(8936002)(5660300002)(356005)(36860700001)(70206006)(47076005)(966005)(81166007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2021 09:57:51.3325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a51d7ac9-50d0-49ef-003f-08d9152c67d0 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-AuthSource: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6509 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks good to me. I'm just curious if we would run into a similar problem w= ith using Print() in MdePkg\Library\UefiLib\UefiLibPrint.c or ShellPrintEx(= ) in ShellPkg\Library\UefiShellLib\UefiShellLib.c. If not, we may need to i= mprove SctPrint(). Reviewed-by: Sunny Wang -----Original Message----- From: devel@edk2.groups.io On Behalf Of Heinrich Sch= uchardt via groups.io Sent: Monday, March 22, 2021 7:36 PM To: EDK II Development Cc: Eric Jin ; G Edhaya Chandran ; Barton Gao ; Arvin Chen = ; Samer El-Haj-Mahmoud ; Heinrich Schuchardt = Subject: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: IHV: type mism= atch in Simple Network test REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3257 SctPrint() requires that %x and %d refers to an UINTN parameter. SimpleNetworkBBTestFunction.c tries to print INT32 using %x, %d without con= verting to UINTN resulting in corrupted output like: SimpleNetworkBBTestFunction.c:891: Status - Unsupported, Filter - AAAA00000000 Mode->ReceiveFilterSetting has only 32 bit. The true value is 0. Convert the parameters to UINTN. Signed-off-by: Heinrich Schuchardt --- .../SimpleNetworkBBTestFunction.c | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleNetwork/Black= BoxTest/SimpleNetworkBBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/IHV/P= rotocol/SimpleNetwork/BlackBoxTest/SimpleNetworkBBTestFunction.c index ca15df6303f6..06ad3163ef6b 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleNetwork/BlackBoxT +++ est/SimpleNetworkBBTestFunction.c @@ -775,7 +775,7 @@ BBTestReceiveFilterFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->ReceiveFilterSetting + (UINTN)SnpInterface->Mode->ReceiveFilterSetting ); // Check point A. Enable Specified bit. @@ -797,7 +797,7 @@ BBTestReceiveFilterFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->ReceiveFilterSetting + (UINTN)SnpInterface->Mode->ReceiveFilterSetting ); // Check point C. Enable and Disable Specified bit together. @@ -819,7 +819,7 @@ BBTestReceiveFilterFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->ReceiveFilterSetting + (UINTN)SnpInterface->Mode->ReceiveFilterSetting ); } @@ -856,12 +856,12 @@ BBTestReceiveFilterFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->ReceiveFilterSetting, - SnpInterface->Mode->ReceiveFilterMask, - SnpInterface->Mode->MCastFilterCount, - SnpInterface->Mode->MCastFilter[0].Addr[0], - SnpInterface->Mode->MCastFilter[0].Addr[5], - SnpInterface->Mode->MCastFilter[1].Addr[0] + (UINTN)SnpInterface->Mode->ReceiveFilterSetting, + (UINTN)SnpInterface->Mode->ReceiveFilterMask, + (UINTN)SnpInterface->Mode->MCastFilterCount, + (UINTN)SnpInterface->Mode->MCastFilter[0].Addr[0], + (UINTN)SnpInterface->Mode->MCastFilter[0].Addr[5], + (UINTN)SnpInterface->Mode->MCastFilter[1].Addr[0] ); } @@ -889,13 +889,13 @@ BBTestReceiveFilterFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->ReceiveFilterSetting, - SnpInterface->Mode->ReceiveFilterMask, - SnpInterface->Mode->MCastFilterCount, - Mode.MCastFilterCount, - SnpInterface->Mode->MCastFilter[0].Addr[0], - SnpInterface->Mode->MCastFilter[0].Addr[5], - SnpInterface->Mode->MCastFilter[1].Addr[0] + (UINTN)SnpInterface->Mode->ReceiveFilterSetting, + (UINTN)SnpInterface->Mode->ReceiveFilterMask, + (UINTN)SnpInterface->Mode->MCastFilterCount, + (UINTN)Mode.MCastFilterCount, + (UINTN)SnpInterface->Mode->MCastFilter[0].Addr[0], + (UINTN)SnpInterface->Mode->MCastFilter[0].Addr[5], + (UINTN)SnpInterface->Mode->MCastFilter[1].Addr[0] ); // // Restore SNP State @@ -1358,12 +1358,12 @@ BBTestMCastIpToMacFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - MAC1.Addr[0], - MAC1.Addr[1], - MAC1.Addr[2], - MAC1.Addr[3], - MAC1.Addr[4], - MAC1.Addr[5] + (UINTN)MAC1.Addr[0], + (UINTN)MAC1.Addr[1], + (UINTN)MAC1.Addr[2], + (UINTN)MAC1.Addr[3], + (UINTN)MAC1.Addr[4], + (UINTN)MAC1.Addr[5] ); // @@ -1510,8 +1510,8 @@ BBTestNVDataFunctionTest ( __FILE__, (UINTN)__LINE__, Status, - SnpInterface->Mode->NvRamSize, - SnpInterface->Mode->NvRamAccessSize + (UINTN)SnpInterface->Mode->NvRamSize, + (UINTN)SnpInterface->Mode->NvRamAccessSize ); } @@ -1919,7 +1919,7 @@ BBTestGetStatusFunctionTest ( (UINTN)__LINE__, Status, Status1, - InterruptStatus + (UINTN)InterruptStatus ); } -- 2.30.2 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73139): https://edk2.groups.io/g/devel/message/73139 Mute This Topic: https://groups.io/mt/81521738/5985097 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [Sunny.Wang@arm.com] -=3D= -=3D-=3D-=3D-=3D-=3D IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.