From nobody Tue Nov 26 11:42:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+54731+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=hpe.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1582390852084541.5869735813388; Sat, 22 Feb 2020 09:00:52 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id HzYaYY1788612xkTLnwDDktb; Sat, 22 Feb 2020 09:00:51 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.83.1582390850169356723 for ; Sat, 22 Feb 2020 09:00:50 -0800 X-Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01MGvwvi017164; Sat, 22 Feb 2020 17:00:50 GMT X-Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 2yatumu57s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 22 Feb 2020 17:00:49 +0000 X-Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 1241E6C; Sat, 22 Feb 2020 17:00:49 +0000 (UTC) X-Received: from G9W8675.americas.hpqcorp.net (16.220.49.22) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 22 Feb 2020 16:59:59 +0000 X-Received: from G2W6311.americas.hpqcorp.net (16.197.64.53) by G9W8675.americas.hpqcorp.net (16.220.49.22) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 22 Feb 2020 16:59:59 +0000 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (15.241.52.13) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sat, 22 Feb 2020 16:59:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YCwvuoxihoFe5Xlk+j8jZj6Tv2cOO/nNboNM2Scj1Okcz5gupYUsblDn9ha2gI+81VnoA3J6oZkUTdV3ClrnfkibLU2Bc9cFS+T3ssy+B101HVXxsoX1RexPgGF0gU6fdz6t014ry5ZWakYV32l3KG7NlFuy2Y0vHBoE9LXqr7L/L2e42bQp0Y1YPXYPKMaDwnFO6E0wySne+GRyHPZr2oFiWDUcpeNYuNHkTNehTTIP0lA0CrafImltFS/ggsy9nmYgCn3v0cCR5hwtf5b7IEI51erhpuYgbgUW/oMnZ+xLno2xQBgZqetXxv3TmoS8+XwnH5+CuKbzX+w3/H6vXA== 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=AS7KT+W9STlf4M95a7ggCdZLy1w1zFq+IDyiF/hbRtg=; b=S4MXxOWY1u1VOxFhUowjDXwPZZ4KTWPiIytXb6UwXa5sYCQJQpqQpCKv+MWrOr3vWUmhOg4EUu8Xl1U9Xatknd1nUck3PN6heC2zHTNQ2ybo5QqJBYhksK/QyaWjkzi/LDr4qoGWazjELtLCzlTg/NEpMkPzq4fQvNhc/Ne7OImaKGLOeD6OSX/sum2SjtkIW7qqal0xWTlbRkfZez+FnNX5L2aHTvcbTjAaQnjUIoL/iyZAyh6v7yW1qe2ejKlcOzluRHx2BsUJNxMMXbz3cpkTw1BWHo4iTeyuKg/Nzt6JfOMxuKAm/CjJTLTGiSVK83sLhwdQhtG2QdXLfwW1+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none X-Received: from DF4PR8401MB0777.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7609::13) by DF4PR8401MB0764.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Sat, 22 Feb 2020 16:59:57 +0000 X-Received: from DF4PR8401MB0777.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b801:ced5:4070:1d8a]) by DF4PR8401MB0777.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b801:ced5:4070:1d8a%2]) with mapi id 15.20.2750.021; Sat, 22 Feb 2020 16:59:57 +0000 From: "Schaefer, Daniel Helmut (DualStudy)" To: CC: Abner Chang , Gilbert Chen , Leif Lindholm , Dandan Bi , Eric Dong Subject: [edk2-devel] [PATCH 3/3] MdeModulePkg: Use CopyGuid instead of GUID assignment Date: Sat, 22 Feb 2020 17:59:18 +0100 Message-ID: <20200222165918.20834-4-daniel.schaefer@hpe.com> In-Reply-To: <20200222165918.20834-1-daniel.schaefer@hpe.com> References: <20200222165918.20834-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: ZR0P278CA0032.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1c::19) To DF4PR8401MB0777.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7609::13) X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from x360-nix.fritz.box (84.58.209.92) by ZR0P278CA0032.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Sat, 22 Feb 2020 16:59:55 +0000 X-Originating-IP: [84.58.209.92] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1be156fe-2543-43ce-92fd-08d7b7b8a528 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0764: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+54731+1787277+3901457@groups.io; helo=web01.groups.io; Received-SPF: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: ltqrBdFj4x7+SHGHUGXND6pA2d5racHD8iTPOUmqp7n5Qp5qtCB21qj28QZW5noruVpphBYSNUSX+Lj7sPaAU0fqHMQ+EtNT4RALiiCUAv8E5ZcvtKyLYvwP/1ZENR45/5phV01P8LSzfP08NxPH6aINGuuzElz39b2nghhhCLCRgIQcgw5+rOjjLXYrwagCeymPhFrV2Xmr0DcPRiTHiJ4RhzA8WBA+TahxDrPl3iPEIoFuzYyzmIvvfnEWLwXxYyFX4Ub1zHnkgI3zSCgIySyEpmYtNMx/Na4PizXjhhzokeM6KYdEdLddbUEIzB7D5QvSa3Su9TqAhDWd+Jf6UjBlghyV36YjWae6Dj65YRHB9dSa99UMn4smLihnvvDXJiV+7PAzPYRn5i5yMKx3pKCdzlBwkYrLp0Tx7bCV1k39RiNR9HBWece10kbjRI1w+CVTlVMJIhdOvle8hYu6qzCedOm4rxYZ9zz7lQVioWkZsRpAe1QphOYePSV0usRCa+Xi3WIgtb5JjpsBcPty/g== X-MS-Exchange-AntiSpam-MessageData: KPlmQZluxAOvQOJvFSThY2I5j+52NqIw40Fbur5Z5do9vNneHjKDk1T7zseHktMVya/dQtJHYUn+1SWSJngpREuFnokL52YcccA312UdSZKgr2A3e8Ow9WQwDvfChL7WPGf/bn8SIDOuMddu9kKXBg== X-MS-Exchange-CrossTenant-Network-Message-Id: 1be156fe-2543-43ce-92fd-08d7b7b8a528 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2020 16:59:57.2078 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TccDr8a/ljqchRqQ7NwZdi1yAi/3KsPoW43t/EZRJVOJ5JxfXcJyJszD3Kd1q3PiMCiotsnOhDcjCHCGXejjuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0764 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,daniel.schaefer@hpe.com X-Gm-Message-State: gHH72WFrtSuoujoJ71SHncdpx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582390851; bh=XcpVm7hPdqz9Aop5EG2CoT74KthI2WrJiWzsXImnFls=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=BWYzt46gj6IzXWvinupZaAZR9UaqkaYwBP2zLCGc46xRpjXw160UM1xXDxPup6EJxJH c88bbEOR+sdTOffkaTBAP7iGjAWCeFAogbOv6Wbe2az5nTPIdG97gTbXk5Wn0PL6eBuAU AT+zuKteESlGMWZkbD2eAwtVtaIlXnfHcmc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" GCC translates a simple assignment to memcpy, which EDKII doesn't provide. See: https://www.mail-archive.com/edk2-devel@lists.01.org/msg11928.html REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2547 Signed-off-by: Daniel Schaefer Cc: Abner Chang Cc: Gilbert Chen Cc: Leif Lindholm Cc: Dandan Bi Cc: Eric Dong --- MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c b/MdeM= odulePkg/Library/DeviceManagerUiLib/DeviceManager.c index 5cc527679a78..d36648aaa04a 100644 --- a/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c +++ b/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c @@ -619,7 +619,7 @@ CreateDeviceManagerForm( TokenHelp =3D HiiSetString (HiiHandle, 0, String, NULL); FreePool (String); =20 - FormSetGuid =3D ((EFI_IFR_FORM_SET *)Ptr)->Guid; + CopyGuid (&FormSetGuid, &((EFI_IFR_FORM_SET *) Ptr)->Guid); =20 // // Network device process --=20 2.25.0 -=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 (#54731): https://edk2.groups.io/g/devel/message/54731 Mute This Topic: https://groups.io/mt/71474829/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-