From: Julien Grall <julien.grall@linaro.org>
To: Daniel De Graaf <dgdegra@tycho.nsa.gov>, xen-devel@lists.xenproject.org
Subject: Re: [PATCH] xsm: add device tree labeling support
Date: Thu, 12 Mar 2015 18:17:24 +0000 [thread overview]
Message-ID: <5501D834.9010302@linaro.org> (raw)
In-Reply-To: <1426180387-16128-1-git-send-email-dgdegra@tycho.nsa.gov>
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
prev parent reply other threads:[~2015-03-12 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 17:13 [PATCH] xsm: add device tree labeling support Daniel De Graaf
2015-03-12 17:53 ` Daniel De Graaf
2015-03-12 18:09 ` Julien Grall
2015-03-12 18:17 ` Julien Grall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5501D834.9010302@linaro.org \
--to=julien.grall@linaro.org \
--cc=dgdegra@tycho.nsa.gov \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.