From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by mx.groups.io with SMTP id smtpd.web11.15498.1629058413306517307 for ; Sun, 15 Aug 2021 13:13:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@posteo.de header.s=2017 header.b=IF6m8EWR; spf=pass (domain: posteo.de, ip: 185.67.36.65, mailfrom: mhaeuser@posteo.de) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 94A11240029 for ; Sun, 15 Aug 2021 22:13:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1629058411; bh=fqHxod9QWWFYUFWt1JbOKiDJ0oM7FIGvVK7MeB/H8nI=; h=From:To:Cc:Subject:Date:From; b=IF6m8EWR/ox+TJaohZuQcrp7IJJ1AeJ9zI2qOJM0vGigrhumg0oL8peB9PLnVqik+ 01CVGaDVRga5kZYii8e/31z+yZSnAUzENftcsH/oUj3TeB8wS/dG9dVQR09Z796yu4 mM1cYFzpIhrNNOZQ/fewRcaWCZ7ByVmqIHG4LFE0UbvHBM6lyLdWwAtQ0IJvuYDsJv C26Vp07iQq5931cARusXzw4EQsJWZx11eM7sT8uauNOZjZvl2KJpTWQUwNItkMbpm7 OQ37C1S6jq4hXniNOrUBFHwgEUd1FK9mv4wjq3Ezxrxmr5ndnpWbr131LkyTkNGjoC eVxTED/FZxHvA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GnpQK5YY2z9rxL; Sun, 15 Aug 2021 22:13:29 +0200 (CEST) From: =?UTF-8?B?TWFydmluIEjDpHVzZXI=?= To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Liming Gao , Guomin Jiang , Vitaly Cheptsov Subject: [PATCH 1/1] MdeModulePkg/CapsuleApp: Add missing EFIAPI specifier Date: Sun, 15 Aug 2021 20:11:55 +0000 Message-Id: <7070ec1badae7d2da9c45e6e0c3674273b4697fe.1629057804.git.mhaeuser@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The function CompareFileNameInAlphabet() is passed by pointer to a generic sorting function. Said pointer declares a function type with the EFIAPI calling convention. As CompareFileNameInAlphabet() lacks said specifier, this causes build issues with toolchains that do not use the EFIAPI calling convention by default, such as CLANG38. Add the missing specifier to resolve the issue. Cc: Jian J Wang Cc: Hao A Wu Cc: Liming Gao Cc: Guomin Jiang Cc: Vitaly Cheptsov Signed-off-by: Marvin H=C3=A4user --- MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c b/MdeModuleP= kg/Application/CapsuleApp/CapsuleDump.c index 5725e2f6dd5b..30a4a984f318 100644 --- a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c @@ -622,6 +622,7 @@ SplitFileNameExtension ( =0D **/=0D INTN=0D +EFIAPI=0D CompareFileNameInAlphabet (=0D IN VOID *Left,=0D IN VOID *Right=0D --=20 2.31.1