From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0321aece44=daniel.schaefer@hpe.com) 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 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 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) 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 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 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 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 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: [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> X-Mailer: git-send-email 2.25.0 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 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-Mailer: git-send-email 2.25.0 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; X-Forefront-PRVS: 03218BFD9F X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39860400002)(136003)(376002)(396003)(366004)(346002)(199004)(189003)(66556008)(66476007)(6506007)(6916009)(54906003)(66946007)(1076003)(2906002)(36756003)(26005)(16526019)(186003)(2616005)(956004)(44832011)(52116002)(4326008)(316002)(966005)(6512007)(6486002)(86362001)(5660300002)(8936002)(478600001)(6666004)(81156014)(81166006)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR8401MB0764;H:DF4PR8401MB0777.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; 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 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-22_05:2020-02-21,2020-02-22 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 clxscore=1015 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002220143 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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);=0D FreePool (String);=0D =0D - FormSetGuid =3D ((EFI_IFR_FORM_SET *)Ptr)->Guid;=0D + CopyGuid (&FormSetGuid, &((EFI_IFR_FORM_SET *) Ptr)->Guid);=0D =0D //=0D // Network device process=0D --=20 2.25.0