Re: [edk2-devel] [PATCH 1/9] OvmfPkg: Replace static struct initialization with ZeroMem call

2023-03-21 Thread Gerd Hoffmann
On Tue, Mar 21, 2023 at 07:30:32PM -0600, Rebecca Cran wrote: > Replace the static struct initialization with a call to ZeroMem to avoid > generating a call to memset in certain build configurations. > > Signed-off-by: Rebecca Cran Reviewed-by: Gerd Hoffmann -=-=-=-=-=-=-=-=-=-=-=-

[edk2-devel] [PATCH 1/9] OvmfPkg: Replace static struct initialization with ZeroMem call

2023-03-21 Thread Rebecca Cran
Replace the static struct initialization with a call to ZeroMem to avoid generating a call to memset in certain build configurations. Signed-off-by: Rebecca Cran --- OvmfPkg/Library/PlatformInitLib/MemDetect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git