public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Carsey, Jaben" <jaben.carsey@intel.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Brijesh Singh <brijesh.singh@amd.com>,
	"Justen, Jordan L" <jordan.l.justen@intel.com>,
	"Ni, Ruiyu" <ruiyu.ni@intel.com>
Subject: Re: [PATCH 0/2] sync some function definitions with their declarations
Date: Tue, 6 Feb 2018 22:56:25 +0000	[thread overview]
Message-ID: <37E39B00-5DED-4D46-869C-CD6FFCC5F7BF@intel.com> (raw)
In-Reply-To: <20180206220115.29193-1-lersek@redhat.com>

Reviewed-by Jaben Carsey <Jaben.carsey@intel.com>

> On Feb 6, 2018, at 2:01 PM, Laszlo Ersek <lersek@redhat.com> wrote:
> 
> Repo:   https://github.com/lersek/edk2.git
> Branch: sync_defs_to_decls
> 
> The patches say it all, just a side remark up here:
> 
> These errors would have been caught long ago if we had enabled the
> "-Wmissing-prototypes" gcc option.
> 
> (Unfortunately, we can't enable that option even now, because it --
> laudably -- forces the programmer to give internal linkage ("STATIC") to
> their helper / local functions, and -- as we've learned -- some versions
> of the the Visual Studio debugger choke on STATIC functions. Thus, core
> modules basically never make their internal functions STATIC.)
> 
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Brijesh Singh <brijesh.singh@amd.com>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> 
> Thanks
> Laszlo
> 
> Laszlo Ersek (2):
>  ShellPkg/UefiShellDebug1CommandsLib: sync Compress() definition with
>    decl.
>  OvmfPkg/PlatformPei: sync AmdSevInitialize() definition with
>    declaration
> 
> OvmfPkg/PlatformPei/AmdSev.c                           |  3 ++-
> ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c | 15 +++++++++------
> 2 files changed, 11 insertions(+), 7 deletions(-)
> 
> -- 
> 2.14.1.3.gb7cf6e02401b
> 


       reply	other threads:[~2018-02-06 22:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180206220115.29193-1-lersek@redhat.com>
2018-02-06 22:56 ` Carsey, Jaben [this message]
     [not found] ` <20180206220115.29193-3-lersek@redhat.com>
2018-02-06 22:11   ` [PATCH 2/2] OvmfPkg/PlatformPei: sync AmdSevInitialize() definition with declaration Brijesh Singh
2018-02-07  9:47   ` Ard Biesheuvel

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=37E39B00-5DED-4D46-869C-CD6FFCC5F7BF@intel.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