Skip to content

Commit

Permalink
MsWheaPkg: Add EFIAPI to MsWheaReportHandlerPei()
Browse files Browse the repository at this point in the history
MsWheaReportHandlerPei() is passed to ReportHwErrRecRouter() for the
MS_WHEA_ERR_REPORT_PS_FN value where that is defined as:

typedef
EFI_STATUS
(EFIAPI *MS_WHEA_ERR_REPORT_PS_FN)(
  IN MS_WHEA_ERROR_ENTRY_MD           *MsWheaEntryMD
  );

So, MsWheaReportHandlerPei() needs to include EFIAPI as well.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Feb 23, 2024
1 parent 456b9ef commit 23c38fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MsWheaPkg/MsWheaReport/Pei/MsWheaReportPei.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Handler function that validates input arguments, and create a hob list entry for
**/
STATIC
EFI_STATUS
EFIAPI
MsWheaReportHandlerPei (
IN MS_WHEA_ERROR_ENTRY_MD *MsWheaEntryMD
)
Expand Down

0 comments on commit 23c38fb

Please sign in to comment.