Skip to content

Commit

Permalink
EmbeddedPkg/PrePiHobLib: Fix SetBootMode return value
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vishalo authored and mergify[bot] committed Sep 5, 2024
1 parent 1204de7 commit 013d517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EmbeddedPkg/Library/PrePiHobLib/Hob.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ SetBootMode (

Hob.Raw = GetHobList ();
Hob.HandoffInformationTable->BootMode = BootMode;
return BootMode;
return EFI_SUCCESS;
}

/**
Expand Down

0 comments on commit 013d517

Please sign in to comment.