[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xsm: add device tree labeling support



Hi Daniel,

On 12/03/15 17:13, Daniel De Graaf wrote:
>  int security_find_bool(const char *name)
>  {
>      int i, rv = -ENOENT;
> @@ -2131,7 +2166,7 @@ int security_ocontext_add( u32 ocon, unsigned long low, 
> unsigned long high
>                  c->u.iomem.high_iomem == high && c->sid[0] == sid)
>                  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 ‘security_ocontext_add’:
services.c:2171:20: error: format ‘%lx’ expects argument of type ‘long
unsigned int’, but argument 3 has type ‘u64’ [-Werror=format=]
                    c->u.iomem.high_iomem);
                    ^
services.c:2171:20: error: format ‘%lx’ expects argument of type ‘long
unsigned int’, but argument 4 has type ‘u64’ [-Werror=format=]

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.