public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Colin Xu" <colin.xu@intel.com>
To: devel@edk2.groups.io, rebecca@bsdio.com
Cc: lersek@redhat.com, colin.xu@intel.com,
	Gerd Hoffmann <kraxel@redhat.com>,
	 Alex Williamson <alex.williamson@redhat.com>
Subject: Re: [edk2-devel] [PATCH v2 1/2] OvmfPkg/IntelGvtGopDxe: Intel GVT-g GOP Implementation.
Date: Fri, 12 Mar 2021 12:55:59 +0800 (CST)	[thread overview]
Message-ID: <alpine.LNX.2.22.419.2103121254450.31969@coxu-arch-shz> (raw)
In-Reply-To: <1d2bf78f-6194-fe3e-0afe-6ebd3aa30839@bsdio.com>



On Fri, 12 Mar 2021, Rebecca Cran wrote:

> On 3/5/2021 6:19 AM, Laszlo Ersek wrote:
>
>> (3) There's a whole lot of style issues in the code, and I absolutely
>> don't see myself identifying every single one of those for you, in a
>> 4000+ line driver.
>> 
>> (EFI_D_xxx macro usage, line wrapping issues with multi-line function
>> calls, comment style problems, an assumption of varargs support with
>> function-like macros on all edk2 toolchains, building the driver only
>> for X64, ...)
>
> The other style issue I noticed was the leading double underscores in the 
> include guards - e.g.:
>
Thanks Rebecca. I'll fix them.

Best Regards,
Colin

> diff --git a/OvmfPkg/IntelGvtGopDxe/Common.h 
> b/OvmfPkg/IntelGvtGopDxe/Common.h
> new file mode 100644
> index 000000000000..cf30752eb8f3
> --- /dev/null
> +++ b/OvmfPkg/IntelGvtGopDxe/Common.h
> @@ -0,0 +1,45 @@
> +/** @file
> +  Component name for the QEMU video controller.
> +
> +  Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
> +
> +  SPDX-License-Identifier: BSD-2-Clause-Patent
> +
> +**/
> +
> +#ifndef __COMMON_H_
>
> -- 
> Rebecca Cran
>
>
>
>
> 
>
>
>

  reply	other threads:[~2021-03-12  4:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05  6:20 [PATCH v2 0/2] OvmfPkg/IntelGvtGopDxe: Add Intel GVT-g GOP Colin Xu
2021-03-05  6:20 ` [PATCH v2 1/2] OvmfPkg/IntelGvtGopDxe: Intel GVT-g GOP Implementation Colin Xu
2021-03-05 13:19   ` [edk2-devel] " Laszlo Ersek
2021-03-12  3:57     ` Colin Xu
2021-03-12 12:35       ` Gerd Hoffmann
2021-03-19  2:08         ` Colin Xu
2021-03-19  9:06           ` kraxel
2021-03-26  7:37             ` Colin Xu
2021-03-12  4:42     ` Rebecca Cran
2021-03-12  4:55       ` Colin Xu [this message]
2021-03-05  6:20 ` [PATCH v2 2/2] OvmfPkg/IntelGvtGopDxe: Enable GVT-g GOP in OvmfPkg DSC & DFD Colin Xu

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=alpine.LNX.2.22.419.2103121254450.31969@coxu-arch-shz \
    --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