diff options
author | Vishal Oliyil Kunnil <vishalo@qti.qualcomm.com> | 2024-08-19 14:05:57 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-05 17:08:51 +0000 |
commit | 013d51771a67ff87e6cb17a57e156ef4b6f4ec54 (patch) | |
tree | b0308dc81e5b8ebef4866172f761bf57f66c1700 | |
parent | 1204de7b50926b01394fefb28a04072305a39ca1 (diff) | |
download | edk2-013d51771a67ff87e6cb17a57e156ef4b6f4ec54.tar.gz edk2-013d51771a67ff87e6cb17a57e156ef4b6f4ec54.tar.bz2 edk2-013d51771a67ff87e6cb17a57e156ef4b6f4ec54.zip |
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 <quic_vishalo@quicinc.com>
-rw-r--r-- | EmbeddedPkg/Library/PrePiHobLib/Hob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c index c6a89e8ad6..49b2fecb8a 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;
}
/**
|