public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: Rebecca Cran <rebecca@bsdio.com>,
	Michael Kinney <michael.d.kinney@intel.com>,
	 Michael Kubacki <mikuback@linux.microsoft.com>
Cc: "Corvin Köhne" <corvink@freebsd.org>,
	devel@edk2.groups.io, "Jiewen Yao" <jiewen.yao@intel.com>,
	"Jordan Justen" <jordan.l.justen@intel.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Peter Grehan" <grehan@freebsd.org>
Subject: Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB
Date: Tue, 8 Aug 2023 18:25:38 +0200	[thread overview]
Message-ID: <CAMj1kXHfnTrm6v-pA8Be5Y=hytQLZyMmjjCOhy_o2GQ3qVL-uQ@mail.gmail.com> (raw)
In-Reply-To: <899bbdac-5aa3-50c4-f6e2-926b7a22c799@bsdio.com>

On Tue, 8 Aug 2023 at 15:33, Rebecca Cran <rebecca@bsdio.com> wrote:
>
> Nit: "sizeof" is normally used like a function. And this patch mixes the
> two styles.
>

Actually, this is not unidiomatic for OVMF - sizeof takes either a
type name (in which case the () are required) or an expression (in
which case they are optional), and we have always permitted both
idioms for the latter case.

$ git grep -cE 'sizeof\s*[:alnum:]' OvmfPkg/
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c:4
OvmfPkg/EnrollDefaultKeys/AuthData.c:4
OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c:7
OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.c:1
OvmfPkg/PlatformPei/MemTypeInfo.c:1
OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c:5
OvmfPkg/QemuVideoDxe/VbeShim.c:4
OvmfPkg/SmmControl2Dxe/SmiFeatures.c:4
OvmfPkg/Virtio10Dxe/Virtio10.c:1
OvmfPkg/VirtioGpuDxe/DriverBinding.c:4


> Other than that:
>
>
> Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
>

Thanks


I've tried to merge this but I am getting errors and I cannot figure
out what they are:

https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=99505&view=results


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107642): https://edk2.groups.io/g/devel/message/107642
Mute This Topic: https://groups.io/mt/100327419/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2023-08-08 16:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 12:59 [edk2-devel] [PATCH v1 0/1] OvmfPkg/Bhyve: build PlatformInfoHob Corvin Köhne
2023-07-24 12:59 ` [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB Corvin Köhne
2023-08-08 13:32   ` Rebecca Cran
2023-08-08 16:25     ` Ard Biesheuvel [this message]
2023-08-10 12:53       ` Corvin Köhne
2023-08-10 12:55         ` Ard Biesheuvel
2023-08-10 13:33           ` Corvin Köhne
2023-08-10 15:46             ` Ard Biesheuvel
2023-08-10 19:54               ` Michael Kubacki
2023-08-14  8:15                 ` Corvin Köhne
2023-08-15  8:10                   ` Ard Biesheuvel
2023-08-18 12:32                     ` Ard Biesheuvel
     [not found] ` <1774CF3EF23450CD.25264@groups.io>
2023-08-07 11:31   ` Corvin Köhne
2023-08-07 16:52     ` 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='CAMj1kXHfnTrm6v-pA8Be5Y=hytQLZyMmjjCOhy_o2GQ3qVL-uQ@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