edk2/MdeModulePkg/Bus/Spi
Tuan Phan 1a86701fc0 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 <tuan.phan@oss.qualcomm.com>
2026-06-24 14:49:50 +00:00
..
SpiBus MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SpiHc MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SpiNorFlashJedecSfdp MdeModulePkg: SpiNorFlashJedecSfdp: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00