Received: from eggs.gnu.org ([2001:4830:134:3::10]:54390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT30K-0003oC-5V for qemu-devel@nongnu.org; Fri, 29 Jul 2016 04:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT30G-0001Gb-02 for qemu-devel@nongnu.org; Fri, 29 Jul 2016 04:18:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT30F-0001GA-QL for qemu-devel@nongnu.org; Fri, 29 Jul 2016 04:18:43 -0400 From: Markus Armbruster References: <1469777353-9383-1-git-send-email-armbru@redhat.com> <3f7d347b-5400-22db-77bd-202ef9d2fd32@redhat.com> Date: Fri, 29 Jul 2016 10:18:40 +0200 In-Reply-To: <3f7d347b-5400-22db-77bd-202ef9d2fd32@redhat.com> (Laszlo Ersek's message of "Fri, 29 Jul 2016 10:08:08 +0200") Message-ID: <87y44kq2lb.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] fw_cfg: Make base type "fw_cfg" abstract List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, somlo@cmu.edu Laszlo Ersek writes: > 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 >> --- >> 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. Yes, please. > Reviewed-by: Laszlo Ersek > > Thanks! > Laszlo Thanks!