From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4mrW-00079G-AN for qemu-devel@nongnu.org; Tue, 06 Mar 2012 00:23:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4mrT-0006id-1J for qemu-devel@nongnu.org; Tue, 06 Mar 2012 00:23:01 -0500 Date: Tue, 6 Mar 2012 16:22:51 +1100 From: David Gibson Message-ID: <20120306052251.GC1929@truffala.fritz.box> References: <1330399093-20384-1-git-send-email-david@gibson.dropbear.id.au> <1330399093-20384-8-git-send-email-david@gibson.dropbear.id.au> <4F526601.4020502@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4F526601.4020502@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 7/7] pseries: Configure PCI bridge using properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, anthony@codemonkey.ws On Sat, Mar 03, 2012 at 07:42:09PM +0100, Andreas F=E4rber wrote: > Am 28.02.2012 04:18, schrieb David Gibson: > > From: Alexey Kardashevskiy [snip] > > - QLIST_INSERT_HEAD(&spapr->phbs, phb, list); > > +type_init(spapr_register_pci_type) >=20 > Please respect the recently enforced convention of naming the function > ..._register_types as before and best putting it and type_init() in the > bottom so that we don't end up with multiple ones per file. Now that I'm aware of the convention, sure. > And registering types is all such a function can safely do since the > call of these constructors is about to be moved (spapr_rtas_register > looks fishy in that aspect). Ok, I'll do the rename and move the rtas register calls into the class_init function and respin. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other= _ | _way_ _around_! http://www.ozlabs.org/~dgibson