public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Corvin Köhne" <corvink@FreeBSD.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: devel@edk2.groups.io, Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Jordan Justen <jordan.l.justen@intel.com>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	Peter Grehan <grehan@freebsd.org>,
	Rebecca Cran <rebecca@bsdio.com>,
	Sami Mujawar <sami.mujawar@arm.com>
Subject: Re: [PATCH 1/5] OvmfPkg: avoid including AcpiPlatformLib twice
Date: Mon, 19 Jun 2023 15:11:40 +0200	[thread overview]
Message-ID: <561c34c8807f88c987290c53578393469cfd2750.camel@FreeBSD.org> (raw)
In-Reply-To: <w54adsk2mlog2nqj5wlkttdnqsutytiact547d5nlmtp52cgg2@hamwg7fk5gog>

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

On Mon, 2023-06-19 at 15:04 +0200, Gerd Hoffmann wrote:
> On Mon, Jun 19, 2023 at 01:52:19PM +0200, Corvin Köhne wrote:
> > On Mon, 2023-06-19 at 12:41 +0200, Gerd Hoffmann wrote:
> > > On Wed, Jun 14, 2023 at 09:55:43AM +0200, Corvin Köhne wrote:
> > > > Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
> > > > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> > > > Cc: Gerd Hoffmann <kraxel@redhat.com>
> > > > Cc: Jiewen Yao <jiewen.yao@intel.com>
> > > > Cc: Jordan Justen <jordan.l.justen@intel.com>
> > > > Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> > > > Cc: Peter Grehan <grehan@freebsd.org>
> > > > Cc: Rebecca Cran <rebecca@bsdio.com>
> > > > Cc: Sami Mujawar <sami.mujawar@arm.com>
> > > 
> > > Series breaks OvmfPkg/OvmfPkgIa32.dsc build.
> > > 
> > > take care,
> > >   Gerd
> > > 
> > 
> > Hi Gerd,
> > 
> > CI was successful for OvmfPkg/OvmfPkgIa32.dsc:
> > https://github.com/tianocore/edk2/pull/4545
> > https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=95435&view=results
> 
> /home/kraxel/projects/edk2/OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPla
> tformLib.c:18:1: error: conflicting types for
> ‘GetAcpiRsdpFromMemory’; have ‘EFI_STATUS(UINTN,  UINTN, 
> EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **)’ {aka ‘unsigned
> int(unsigned int,  unsigned int, 
> EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **)’}
>    18 | GetAcpiRsdpFromMemory (
>       | ^~~~~~~~~~~~~~~~~~~~~
> In file included from
> /home/kraxel/projects/edk2/OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPla
> tformLib.c:12:
> /home/kraxel/projects/edk2/OvmfPkg/Include/Library/AcpiPlatformLib.h:
> 33:1: note: previous declaration of ‘GetAcpiRsdpFromMemory’ with type
> ‘EFI_STATUS(UINT64,  UINT64, 
> EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **)’ {aka ‘unsigned
> int(long long unsigned int,  long long unsigned int, 
> EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **)’}
>    33 | GetAcpiRsdpFromMemory (
>       | ^~~~~~~~~~~~~~~~~~~~~
> make: *** [GNUmakefile:311:
> /home/kraxel/projects/edk2/Build/OvmfIa32/DEBUG_GCC5/IA32/OvmfPkg/Lib
> rary/AcpiPlatformLib/DxeAcpiPlatformLib/OUTPUT/DxeAcpiPlatformLib.obj
> ] Error 1
> 
> Looks like UINTN vs. UINT64
> 
> take care,
>   Gerd
> 

Sry, forgot to send an update of my series. Already fixed it in my PR:
https://github.com/tianocore/edk2/pull/4545/commits/3b7b1e09051228ee0cfb5ef0765a707e4c83bbfc


-- 
Kind regards,
Corvin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-06-19 13:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14  7:55 [PATCH 0/5] OvmfPkg/Bhyve: install Acpi tables by FwCfg Corvin Köhne
2023-06-14  7:55 ` [PATCH 1/5] OvmfPkg: avoid including AcpiPlatformLib twice Corvin Köhne
2023-06-19 10:41   ` Gerd Hoffmann
2023-06-19 11:52     ` Corvin Köhne
2023-06-19 13:04       ` Gerd Hoffmann
2023-06-19 13:11         ` Corvin Köhne [this message]
2023-06-14  7:55 ` [PATCH 2/5] OvmfPkg: move PciEncoding into AcpiPlatformLib Corvin Köhne
2023-06-14  7:55 ` [PATCH 3/5] OvmfPkg: move BootScript " Corvin Köhne
2023-06-14  7:55 ` [PATCH 4/5] OvmfPkg: move QemuFwCfgAcpi " Corvin Köhne
2023-06-14  7:55 ` [PATCH 5/5] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg Corvin Köhne

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=561c34c8807f88c987290c53578393469cfd2750.camel@FreeBSD.org \
    --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