From: Ian Campbell Subject: Re: [PATCH v3 10/10] xen: arm: Only lookup kernel bootmodule once while building dom0 dtb. Date: Mon, 21 Jul 2014 11:20:44 +0100 Message-ID: <1405938044.24518.1.camel@kazak.uk.xensource.com> References: <1405688876.491.10.camel@kazak.uk.xensource.com> <1405688900-11769-10-git-send-email-ian.campbell@citrix.com> <53C98C54.9040708@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53C98C54.9040708@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-18 at 22:06 +0100, Julien Grall wrote: > Hi Ian, > > On 18/07/14 14:08, Ian Campbell wrote: > > diff --git a/xen/arch/arm/kernel.h b/xen/arch/arm/kernel.h > > index 7c7f624..2745bb5 100644 > > --- a/xen/arch/arm/kernel.h > > +++ b/xen/arch/arm/kernel.h > > @@ -23,6 +23,7 @@ struct kernel_info { > > paddr_t entry; > > > > /* boot blob load addresses */ > > + struct bootmodule *bootmodule; > > If you don't read the assignment in the code you don't know to which > module the variable pointed to. I would rename to smth like kernelmodule. Good idea. Ian.