From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.82170.1684130069799288684 for ; Sun, 14 May 2023 22:54:29 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm2 header.b=JRslI3fd; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 921B2320083A; Mon, 15 May 2023 01:54:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 15 May 2023 01:54:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1684130068; x=1684216468; bh=GYULUpLgWd c+X6Z9Gsdjc+ee3P1LNiG2JF1SsdClgTA=; b=JRslI3fdKcBQKiOWpGBRcoMFYu V9H6PqVzg1QgbSKRHqQpV+Je6YFQ1nqR7HTJKt3g9XqdSdyjZF8BPVmoQ8EFrjnU 6SytzOVPZFH0Fm8ZKu/b1FHjHSEr2WRexlRcruhbJuDChk6IElds6mQCsC/Vzfs3 TYoGjG638JsU3qmrb3O/gLBUS0L7eHjid8ItxOQ7kLaoXoPTDg9+3LPPNx9wE5Wp OJEUOjyW0QsB86lcV9m6pv1RvRQV9qOwvuKNTPmnPg7eMNbYjxZ6JygJjZ96pLVF iRl9QB2TtBvwrGnZ7vFD+I6d5aT9+GcAcHyoc0FopV1o9+X5w8Ccr9dCVwfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684130068; x=1684216468; bh=GYULUpLgWdc+X 6Z9Gsdjc+ee3P1LNiG2JF1SsdClgTA=; b=ysR2P2sO20mIKhdydTn8R5JJBTTfK o+HKuVekJ0eTom+PB3huvpPiUYXXUv5AptqR0KmaaPE64fg62HKGIMUNbMHo1f8T qwVgN1pmpb5gaL7sv60RM68wKKX6Unl32BVj2r3bwKhhGCIFyRANOISTnRRWBwqK sxtDsFRfRHr1EwV15f3tiFbnK/nLVOTD0+KdZbXHkcfVU2X5+8z5s+0K4p1+95r6 hbvDD/4nuBiXW3xr1exj8odwL7TfvTVsxO/1ZRzJ/ZT1XjK79PhZHxooul+yIWw+ 5D36bGRoKOTh6c0cJ+DrZUfSanpyCezm267GToY4PVx4S9ZkmYo4ZWr7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehiedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeftvggsvggt tggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtth gvrhhnpeeuvdektdelkeeukefgjeejteetffdtudeiffefheevfefgveeulefghfellefg vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvg gsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 01:54:26 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Eric Dong , Isaac Oram , Liming Gao , Sai Chaganty , Nate DeSimone Cc: Rebecca Cran Subject: [PATCH edk2-platforms 1/1] Platform/Intel: Fix type mismatches from prototypes in BoardBdsHookLib.c Date: Sun, 14 May 2023 23:54:21 -0600 Message-Id: <20230515055421.3241932-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add EFIAPI to the implementations of: BdsBeforeConsoleAfterTrustedConsoleCallback BdsBeforeConsoleBeforeEndOfDxeGuidCallback BdsAfterConsoleReadyBeforeBootOptionCallback This makes them match the prototypes, and avoids an -Wlto-type-mismatch warning. Signed-off-by: Rebecca Cran --- Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.c b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.c index e866f70bc336..bc80badb3e01 100644 --- a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.c +++ b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.c @@ -1273,6 +1273,7 @@ BdsReadyToBootCallback ( @param[in] Context Pointer to the context data registered to the Event. **/ VOID +EFIAPI BdsBeforeConsoleAfterTrustedConsoleCallback ( IN EFI_EVENT Event, IN VOID *Context @@ -1294,6 +1295,7 @@ BdsBeforeConsoleAfterTrustedConsoleCallback ( @param[in] Context Pointer to the context data registered to the Event. **/ VOID +EFIAPI BdsBeforeConsoleBeforeEndOfDxeGuidCallback ( IN EFI_EVENT Event, IN VOID *Context @@ -1311,6 +1313,7 @@ BdsBeforeConsoleBeforeEndOfDxeGuidCallback ( @param[in] Context Pointer to the context data registered to the Event. **/ VOID +EFIAPI BdsAfterConsoleReadyBeforeBootOptionCallback ( IN EFI_EVENT Event, IN VOID *Context -- 2.39.2