public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: devel@edk2.groups.io, Sami Mujawar <sami.mujawar@arm.com>
Cc: "mikuback@linux.microsoft.com" <mikuback@linux.microsoft.com>,
	 Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Jiewen Yao <jiewen.yao@intel.com>,
	 Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>, nd <nd@arm.com>
Subject: Re: [edk2-devel] [PATCH v1 1/1] StandaloneMmPkg/FvLib.h: Add EFIAPI to FfsFindSection()
Date: Wed, 10 Feb 2021 23:34:22 +0100	[thread overview]
Message-ID: <CAMj1kXEBYdVPeikG2Mx1NoVhGmVTp_czfkaqr6Ta2fwBZFoatA@mail.gmail.com> (raw)
In-Reply-To: <AM0PR08MB3091975C0D3B4CD201C94C7B848E9@AM0PR08MB3091.eurprd08.prod.outlook.com>

On Tue, 9 Feb 2021 at 23:25, Sami Mujawar <sami.mujawar@arm.com> wrote:
>
> Hi Michael,
>
> Thank you for this patch.
>
> There must be something missing with the GCC5 settings for AARCH64 as this problem does not get flagged.
>

That is because EFIAPI is #define'd to an empty string on all
architectures except X64

> However, this change looks good to me.
> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
>

I have merged this as #1423 (pending CI)

The other two patches did not apply so they need to be resent.

Thanks,
Ard.


>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of mikuback via groups.io
> Sent: 03 February 2021 03:52 AM
> To: devel@edk2.groups.io
> Cc: Ard Biesheuvel <Ard.Biesheuvel@arm.com>; Sami Mujawar <Sami.Mujawar@arm.com>; Jiewen Yao <jiewen.yao@intel.com>; Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
> Subject: [edk2-devel] [PATCH v1 1/1] StandaloneMmPkg/FvLib.h: Add EFIAPI to FfsFindSection()
>
> From: Michael Kubacki <michael.kubacki@microsoft.com>
>
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3203
>
> The EFIAPI modifier is present in the function definition in
> FvLib.c but missing in FvLib.h. Causes a GCC build error.
>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> ---
>  StandaloneMmPkg/Include/Library/FvLib.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/StandaloneMmPkg/Include/Library/FvLib.h b/StandaloneMmPkg/Include/Library/FvLib.h
> index c08e043cf65f..4ef2c8540a1f 100644
> --- a/StandaloneMmPkg/Include/Library/FvLib.h
> +++ b/StandaloneMmPkg/Include/Library/FvLib.h
> @@ -50,6 +50,7 @@ FfsFindNextFile (
>    @retval  EFI_SUCCESS
>  **/
>  EFI_STATUS
> +EFIAPI
>  FfsFindSection (
>    IN EFI_SECTION_TYPE              SectionType,
>    IN EFI_FFS_FILE_HEADER           *FfsFileHeader,
> --
> 2.28.0.windows.1
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#71088): https://edk2.groups.io/g/devel/message/71088
> Mute This Topic: https://groups.io/mt/80346397/1779659
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [sami.mujawar@arm.com]
> -=-=-=-=-=-=
>
>
>
>
> 
>
>

      reply	other threads:[~2021-02-10 22:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03  3:52 [PATCH v1 1/1] StandaloneMmPkg/FvLib.h: Add EFIAPI to FfsFindSection() mikuback
2021-02-09 22:24 ` [edk2-devel] " Sami Mujawar
2021-02-10 22:34   ` Ard Biesheuvel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMj1kXEBYdVPeikG2Mx1NoVhGmVTp_czfkaqr6Ta2fwBZFoatA@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox