public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Jordan Justen <jordan.l.justen@intel.com>
To: Laszlo Ersek <lersek@redhat.com>,
	"edk2-devel-01" <edk2-devel@lists.01.org>
Cc: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>
Subject: Re: [PATCH] OvmfPkg/XenConsoleSerialPortLib: don't include <Uefi/UefiBaseType.h>
Date: Tue, 25 Oct 2016 09:46:18 -0700	[thread overview]
Message-ID: <147741397897.26016.3788436900040258320@jljusten-ivb> (raw)
In-Reply-To: <20161025143831.14482-1-lersek@redhat.com>

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

On 2016-10-25 07:38:31, Laszlo Ersek wrote:
> XenConsoleSerialPortLib is a BASE type library instance, without being
> restricted to UEFI client modules. (For example, the
> "ArmVirtPkg/ArmVirtXen.dsc" platform builds this library instance into
> "ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf", which is a SEC type
> module.) For such library instances, including <Uefi/UefiBaseType.h> is
> not right.
> 
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> ---
>  OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c
> index 295696312413..4a63b860476d 100644
> --- a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c
> +++ b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c
> @@ -15,7 +15,6 @@
>  **/
>  
>  #include <Base.h>
> -#include <Uefi/UefiBaseType.h>
>  
>  #include <Library/BaseLib.h>
>  #include <Library/SerialPortLib.h>
> -- 
> 2.9.2
> 


  reply	other threads:[~2016-10-25 16:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 14:38 [PATCH] OvmfPkg/XenConsoleSerialPortLib: don't include <Uefi/UefiBaseType.h> Laszlo Ersek
2016-10-25 16:46 ` Jordan Justen [this message]
2016-10-26 10:05   ` Laszlo Ersek

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=147741397897.26016.3788436900040258320@jljusten-ivb \
    --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