From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH] xsm: add device tree labeling support Date: Thu, 12 Mar 2015 18:17:24 +0000 Message-ID: <5501D834.9010302@linaro.org> References: <1426180387-16128-1-git-send-email-dgdegra@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YW7g9-0006uZ-ED for xen-devel@lists.xenproject.org; Thu, 12 Mar 2015 18:17:53 +0000 Received: by wghl18 with SMTP id l18so18193072wgh.11 for ; Thu, 12 Mar 2015 11:17:52 -0700 (PDT) In-Reply-To: <1426180387-16128-1-git-send-email-dgdegra@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel De Graaf , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Hi Daniel, On 12/03/15 17:13, Daniel De Graaf wrote: > int security_find_bool(const char *name) > { > int i, rv =3D -ENOENT; > @@ -2131,7 +2166,7 @@ int security_ocontext_add( u32 ocon, unsigned long = low, unsigned long high > c->u.iomem.high_iomem =3D=3D high && c->sid[0] =3D=3D si= d) > break; > = > - printk("%s: IO Memory overlap with entry %#x - %#x\n", > + printk("%s: IO Memory overlap with entry %#lx - %#lx\n", I had to replace %#lx by %#PRIx64 in order to make compile on ARM services.c: In function =91security_ocontext_add=92: services.c:2171:20: error: format =91%lx=92 expects argument of type =91long unsigned int=92, but argument 3 has type =91u64=92 [-Werror=3Dformat=3D] c->u.iomem.high_iomem); ^ services.c:2171:20: error: format =91%lx=92 expects argument of type =91long unsigned int=92, but argument 4 has type =91u64=92 [-Werror=3Dformat=3D] Regards, -- = Julien Grall