edk2/MdeModulePkg
Tuan Phan 9044d2b33d 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 <tuan.phan@oss.qualcomm.com>
2026-06-24 14:49:50 +00:00
..
Application MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Bus MdeModulePkg: SdBlockIoPei: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00
Core MdeModulePkg/Core/Dxe/Gcd: make persistent override special-purpose 2026-06-23 14:24:18 +00:00
Include EmbeddedPkg,MdeModulePkg,DynamicTablesPkg: Move ACPI helper macros 2026-06-18 13:03:24 +00:00
Library MdeModulePkg/ArmFfaLib: return error when CurrentVersion is NULL 2026-05-29 18:44:57 +00:00
Logo MdeModulePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
Test MdeModulePkg: Added several mock libraries for google test 2026-04-02 03:27:19 +00:00
Universal MdeModulePkg/TerminalDxe: Change print level to eliminate interference 2026-06-22 20:06:47 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Add duplicate exception for gUiAppFileGuid 2025-03-06 14:18:10 +01:00
MdeModulePkg.dec Revert "ArmPlatformPkg,EmbeddedPkg,MdeModulePkg: Move RealTimeClockLib ..." 2026-05-06 03:41:31 +00:00
MdeModulePkg.dsc MdeModulePkg: Add support for generation of HEST table 2026-05-26 23:45:14 +00:00
MdeModulePkg.uni MdeModulePkg: Add platform limit for size in Resizable BAR 2026-02-25 03:40:14 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00