[edk2-devel] [PATCH V2] edk II C Coding Standard: Remove section 5.4.2.2 STATIC

2022-11-26 Thread Chang, Abner via groups.io
From: Abner Chang BZ #1766 Revise the sections that mention the usage of "static" and remove section 5.4.2.2.1 and 5.4.2.2.2 section. We are not allowed to use upper-case STATIC in the source file now. Just follow C standard and use the lower-case 'static'. Leave the macro "#deifne STATIC stati

Re: [edk2-devel] [PATCH v3 0/4] ArmPkg/SecurityPkg: Fixes for ArmTrngLib/RngDxe

2022-11-26 Thread Ard Biesheuvel
On Thu, 24 Nov 2022 at 17:18, wrote: > > From: Pierre Gondois > > v1: > - https://edk2.groups.io/g/devel/message/96356 > v2: > - https://edk2.groups.io/g/devel/message/96434 > - Reformulate commit message. > - Do not warn if no algorithm is found as the message > would be printed on non-Arm pla

Re: [edk2-devel] [PATCH 2/3] UsbNetworkPkg/UsbCdcEcm: Add USB Cdc ECM devices support

2022-11-26 Thread Rebecca Cran
On 10/3/22 03:27, RichardHo [何明忠] via groups.io wrote: diff --git a/UsbNetworkPkg/UsbCdcEcm/UsbCdcEcm.c b/UsbNetworkPkg/UsbCdcEcm/UsbCdcEcm.c + UsbEthDriver->Signature = USB_ETHERNET_SIGNATURE; + UsbEthDriver->NumOfInterface = Interface.InterfaceNum

Re: [edk2-devel] [PATCH] UsbNetworkPkg: add USB network devices support

2022-11-26 Thread Rebecca Cran
On 9/1/22 23:24, RichardHo [何明忠] via groups.io wrote: diff --git a/UsbNetworkPkg/Config/UsbNetworkPkgComponentsDxe.inc.dsc b/UsbNetworkPkg/Config/UsbNetworkPkgComponentsDxe.inc.dsc new file mode 100644 index 00..74b5a3c1b3 --- /dev/null +++ b/UsbNetworkPkg/Config/UsbNetworkPkgComponentsD

[edk2-devel] [PATCH V1 1/1] OvmfPkg/PlatformInitLib: Add check to NvVarStoreFV HeaderLength

2022-11-26 Thread Min Xu
From: Min M Xu There should be a check that the FV HeaderLength cannot be an odd number. Otherwise in the following CalculateSum16 there would be an ASSERT. In ValidateFvHeader@QemuFlashFvbServicesRuntimeDxe/FwBlockServices.c there a is similar check to the FwVolHeader->HeaderLength. Cc: Erdem