From: Laszlo Ersek <lersek@redhat.com>
To: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Cc: somlo@cmu.edu, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH] fw_cfg: Make base type "fw_cfg" abstract
Date: Fri, 29 Jul 2016 10:08:08 +0200 [thread overview]
Message-ID: <3f7d347b-5400-22db-77bd-202ef9d2fd32@redhat.com> (raw)
In-Reply-To: <1469777353-9383-1-git-send-email-armbru@redhat.com>
On 07/29/16 09:29, Markus Armbruster wrote:
> Missed when commit 5712db6 split off "fw_cfg_io" and "fw_cfg_mem".
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> hw/nvram/fw_cfg.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c
> index 2873030..0ccab2d 100644
> --- a/hw/nvram/fw_cfg.c
> +++ b/hw/nvram/fw_cfg.c
> @@ -990,6 +990,7 @@ static void fw_cfg_class_init(ObjectClass *klass, void *data)
> static const TypeInfo fw_cfg_info = {
> .name = TYPE_FW_CFG,
> .parent = TYPE_SYS_BUS_DEVICE,
> + .abstract = true,
> .instance_size = sizeof(FWCfgState),
> .class_init = fw_cfg_class_init,
> };
>
Not sure how consistent we try to be about this: should the equal sign
(in the assignment) line up with the other equal signs?
Looking for prior art, I ran
git grep -E 'abstract {2,}= true'
and it returned 27 hits.
Functionally the patch is right, of course. And I think the whitespace
can be adjusted without a repost, if we agree it should be adjusted.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Thanks!
Laszlo
next prev parent reply other threads:[~2016-07-29 8:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-29 7:29 [Qemu-devel] [PATCH] fw_cfg: Make base type "fw_cfg" abstract Markus Armbruster
2016-07-29 8:08 ` Laszlo Ersek [this message]
2016-07-29 8:18 ` Markus Armbruster
2016-08-01 9:52 ` Paolo Bonzini
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-all 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=3f7d347b-5400-22db-77bd-202ef9d2fd32@redhat.com \
--to=lersek@redhat.com \
--cc=armbru@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=somlo@cmu.edu \
/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;
as well as URLs for NNTP newsgroup(s).