Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b3d5f2b349041fedc31b0ff1fd4b3719bed33923
      
https://github.com/tianocore/edk2/commit/b3d5f2b349041fedc31b0ff1fd4b3719bed33923
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M EmbeddedPkg/Library/PrePiLib/FwVol.c

  Log Message:
  -----------
  EmbeddedPkg: PrePiLib: Fix uninitialized variable warnings

In FfsProcessSection(), delete CompressionSectionHeaderSize and move
CompressedData to avoid the compiler warning without changing functional
behavior.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 1a86701fc09197b2fd6e4d8ae43eb2e4df7c2a07
      
https://github.com/tianocore/edk2/commit/1a86701fc09197b2fd6e4d8ae43eb2e4df7c2a07
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c

  Log Message:
  -----------
  MdeModulePkg: SpiNorFlashJedecSfdp: Fix uninitialized variable warnings

In GetEraseTypeRecord(), ensure ValueToCompare is initialized on all
code paths to prevent uninitialized variable warnings.

In SpiReadSfdpPtp(), return an error code immediately if any
iteration of the for loop fails, otherwise return EFI_SUCCESS
on success at the end of function.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 55834be5d1ee44d9e8a8d885d55b889ecc422d0d
      
https://github.com/tianocore/edk2/commit/55834be5d1ee44d9e8a8d885d55b889ecc422d0d
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdeModulePkg/Bus/Usb/UsbNetwork/NetworkCommon/DriverBinding.c

  Log Message:
  -----------
  MdeModulePkg: UsbNetwork: Fix uninitialized variable warnings

In NetworkCommonDriverStart(), if gPxe is not NULL, TmpPxePointer should
be initialized as it is referenced later in the clean up code.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 9044d2b33dcc8a3f1d731236e1b88bfe3eae2b38
      
https://github.com/tianocore/edk2/commit/9044d2b33dcc8a3f1d731236e1b88bfe3eae2b38
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHci.c

  Log Message:
  -----------
  MdeModulePkg: SdBlockIoPei: Fix uninitialized variable warnings

In SdPeimIdentification(), the compiler may inline SdPeimHcRwMmio()
because it only performs simple MMIO reads and writes. When inlined, the
fourth argument can appear to follow multiple control-flow paths
(MMIO read versus MMIO write), which may cause the compiler to report
a potential uninitialized variable warning when the value is used
later if it was not initialized up front.

Add an explicit Status check, consistent with other code in this file,
to make the control flow explicit and eliminate the compiler warning.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 42b690316cb9d87737b30743bcd8aaa885caba0d
      
https://github.com/tianocore/edk2/commit/42b690316cb9d87737b30743bcd8aaa885caba0d
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdeModulePkg/Bus/Pci/CxlDxe/CxlDxe.c

  Log Message:
  -----------
  MdeModulePkg:  CxlDxe: Fix uninitialized variable warnings

In CxlWriteRegblockRegisters() and PciUefiMemReadUInt32Array(),
Status is only assigned inside the for loop but is returned after
the loop exits, causing an uninitialized variable warning. Return
immediately on error to fix this.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 798a16c520da264a38e0e030a16ac052b6bd6463
      
https://github.com/tianocore/edk2/commit/798a16c520da264a38e0e030a16ac052b6bd6463
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M CryptoPkg/Library/TlsLib/TlsConfig.c

  Log Message:
  -----------
  CryptoPkg: TlsLib: Fix uninitialized variable warnings

In TlsSetCipherList(), the OpensslCipher variable is initialized inside an
inner loop but accessed outside of that loop, which can lead to
uninitialized variable warnings.

Fix this issue by moving all accesses to OpensslCipher into the inner loop
where it is initialized.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 56723842fd47bfdfd738c981b428ea625d0af35f
      
https://github.com/tianocore/edk2/commit/56723842fd47bfdfd738c981b428ea625d0af35f
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M NetworkPkg/HttpBootDxe/HttpBootImpl.c

  Log Message:
  -----------
  NetworkPkg: HttpBootDxe: Fix uninitialized variable warnings

In HttpBootGetBootFileCaller(), under the LoadBootFile case, the Status
variable is only assigned within a for loop. If the loop is not executed,
this results in an uninitialized variable warning when Status is later
referenced.

Resolve this issue by return Status directly inside the loop.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 1cb1184b50229406a3a47c3024018795792837f7
      
https://github.com/tianocore/edk2/commit/1cb1184b50229406a3a47c3024018795792837f7
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M NetworkPkg/Ip4Dxe/Ip4Config2Nv.c

  Log Message:
  -----------
  NetworkPkg: Ip4Dxe: Fix uninitialized variable warning

In Ip4FormExtractConfig(), the Status variable was assigned only within
a conditional block but used outside of it, which could lead to an
uninitialized variable warning.

Fix this by moving the relevant code outside of the conditional block so
that Status is always properly initialized before use.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: d0b66f1671c6196eab3da23ea9a8346a7289f286
      
https://github.com/tianocore/edk2/commit/d0b66f1671c6196eab3da23ea9a8346a7289f286
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdePkg/Library/DxeRiscvMpxyLib/DxeRiscvMpxy.c

  Log Message:
  -----------
  MdePkg: DxeRiscvMpxyLib: Fix uninitialized variable warning

In SbiMpxyGetShmemSize(), ShmemSize is not assigned in the failure
path, but the caller may still access it. Initialize ShmemSize to
zero to fix the uninitialized variable warning.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 7da9028ca3f7f55de360c60b3f37b35141d48c1d
      
https://github.com/tianocore/edk2/commit/7da9028ca3f7f55de360c60b3f37b35141d48c1d
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M MdePkg/MdeLibs.dsc.inc
    M MdePkg/MdePkg.dsc

  Log Message:
  -----------
  MdePkg: CompilerIntrinsicsLib: Add RiscV64 support

Add memcpy/memset implementations for RiscV64 as they may be required by
compiler during linking when build with the -Os flag.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 370f9021f1ef682c099c1761de077eda38d87dd1
      
https://github.com/tianocore/edk2/commit/370f9021f1ef682c099c1761de077eda38d87dd1
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M ManageabilityPkg/Library/ManageabilityTransportSsifLib/Common/SsifCommon.c

  Log Message:
  -----------
  ManageabilityPkg: TransportSsifLib: Fix uninitialized variable warning

In SsifWriteRequest(), MiddleCount is only assigned inside an if
block but is accessed in a subsequent loop, causing an uninitialized
variable warning.

Initialize MiddleCount to zero at declaration to fix this.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 32e139d51b7a2934a164af809b1fa604402c1db1
      
https://github.com/tianocore/edk2/commit/32e139d51b7a2934a164af809b1fa604402c1db1
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M 
ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.c

  Log Message:
  -----------
  ManageabilityPkg: TransportHelperLib: Fix uninitialized variable warning

In HelperManageabilityPayLoadDebugPrint(), Page256 is only assigned
inside an if block within the while loop but is accessed outside of
it, causing an uninitialized variable warning.

Initialize Page256 to zero before the while loop to fix this.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: b62011ce284146c6f0e535b9f48bb3868a38e3a6
      
https://github.com/tianocore/edk2/commit/b62011ce284146c6f0e535b9f48bb3868a38e3a6
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools/tools_def RISCV: Enable -Os optimization

Switch GCC RISCV builds to use GCC_ALL_CC_FLAGS so that the -Os
compiler flag is applied during compilation.

For RiscVVirt target, this reduces DXEFV size by ~30%.

Signed-off-by: Tuan Phan <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/9714474bf2e7...b62011ce2841

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to