]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
MdeModulePkg: Use CopyMem instead of GUID assignment
authorDaniel Schaefer <devel@edk2.groups.io>
Mon, 2 Mar 2020 18:32:38 +0000 (02:32 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 12 Mar 2020 03:07:52 +0000 (03:07 +0000)
commit64a228f5f89320fd632bb6c55e154961f2410680
treeff061dff815f81d107f6104c66b3a8d6be29b13b
parent5a8bc527b32b4ff7e2f8879c5d71ecd9dfdc61b4
MdeModulePkg: Use CopyMem instead of GUID assignment

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=2547

Signed-off-by: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c