From 013d51771a67ff87e6cb17a57e156ef4b6f4ec54 Mon Sep 17 00:00:00 2001 From: Vishal Oliyil Kunnil Date: Mon, 19 Aug 2024 14:05:57 -0700 Subject: [PATCH] EmbeddedPkg/PrePiHobLib: Fix SetBootMode return value After updating Doxygen, we can see that SetBootMode returns the BootMode instead of status code as it should, fix it to return status. Signed-off-by: Vishal Oliyil Kunnil --- EmbeddedPkg/Library/PrePiHobLib/Hob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c index c6a89e8ad6b3..49b2fecb8a22 100644 --- a/EmbeddedPkg/Library/PrePiHobLib/Hob.c +++ b/EmbeddedPkg/Library/PrePiHobLib/Hob.c @@ -369,7 +369,7 @@ SetBootMode ( Hob.Raw = GetHobList (); Hob.HandoffInformationTable->BootMode = BootMode; - return BootMode; + return EFI_SUCCESS; } /**