From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH ARM v5 10/20] mini-os: add missing casts to MM printk Date: Thu, 26 Jun 2014 13:37:54 +0200 Message-ID: <20140626113754.GD29700@type.bordeaux.inria.fr> References: <1403782117-15125-1-git-send-email-talex5@gmail.com> <1403782117-15125-11-git-send-email-talex5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X0804-0007hN-Be for xen-devel@lists.xenproject.org; Thu, 26 Jun 2014 11:37:56 +0000 Content-Disposition: inline In-Reply-To: <1403782117-15125-11-git-send-email-talex5@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Thomas Leonard Cc: xen-devel@lists.xenproject.org, anil@recoil.org, Dave.Scott@eu.citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Thomas Leonard, le Thu 26 Jun 2014 12:28:27 +0100, a =E9crit : > The code previously assumed that a long was 64-bits. > = > Signed-off-by: Thomas Leonard Acked-by: Samuel Thibault > --- > extras/mini-os/mm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > = > diff --git a/extras/mini-os/mm.c b/extras/mini-os/mm.c > index d2d5264..d31ef97 100644 > --- a/extras/mini-os/mm.c > +++ b/extras/mini-os/mm.c > @@ -409,8 +409,8 @@ void init_mm(void) > * now we can initialise the page allocator > */ > printk("MM: Initialise page allocator for %lx(%lx)-%lx(%lx)\n", > - (u_long)to_virt(PFN_PHYS(start_pfn)), PFN_PHYS(start_pfn), = > - (u_long)to_virt(PFN_PHYS(max_pfn)), PFN_PHYS(max_pfn)); > + (u_long)to_virt(PFN_PHYS(start_pfn)), (u_long)PFN_PHYS(start_= pfn), = > + (u_long)to_virt(PFN_PHYS(max_pfn)), (u_long)PFN_PHYS(max_pfn)= ); > init_page_allocator(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn)); > printk("MM: done\n"); > = > -- = > 2.0.0 > = -- = Samuel Moralit=E9 : le modem et le cablerouteur font comme les filles, ils papotent toute la journ=E9e. -+- RB in NPC : Et en plus, ils ne parlent que de bits -+-