xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi
@ 2016-09-28 19:28 Wei Liu
  2016-09-28 22:18 ` Boris Ostrovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Liu @ 2016-09-28 19:28 UTC (permalink / raw)
  To: Xen-devel; +Cc: Ian Jackson, Boris Ostrovsky, Wei Liu

This fixes compilation on ARM.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---
 tools/libxc/xc_dom_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c
index 5884cdb..5326d36 100644
--- a/tools/libxc/xc_dom_core.c
+++ b/tools/libxc/xc_dom_core.c
@@ -1113,7 +1113,7 @@ static int xc_dom_load_acpi(struct xc_dom_image *dom)
                                    PROT_READ | PROT_WRITE, base);
         if ( !ptr )
         {
-            DOMPRINTF("%s: Can't map %d pages at 0x%lx",
+            DOMPRINTF("%s: Can't map %d pages at 0x%"PRI_xen_pfn,
                       __FUNCTION__, num_pages, base);
             goto err;
         }
-- 
2.1.4


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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi
  2016-09-28 19:28 [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi Wei Liu
@ 2016-09-28 22:18 ` Boris Ostrovsky
  2016-09-28 22:43   ` Wei Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Boris Ostrovsky @ 2016-09-28 22:18 UTC (permalink / raw)
  To: Wei Liu, Xen-devel; +Cc: Ian Jackson

On 09/28/2016 03:28 PM, Wei Liu wrote:
> This fixes compilation on ARM.
>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>



> ---
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> ---
>  tools/libxc/xc_dom_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c
> index 5884cdb..5326d36 100644
> --- a/tools/libxc/xc_dom_core.c
> +++ b/tools/libxc/xc_dom_core.c
> @@ -1113,7 +1113,7 @@ static int xc_dom_load_acpi(struct xc_dom_image *dom)
>                                     PROT_READ | PROT_WRITE, base);
>          if ( !ptr )
>          {
> -            DOMPRINTF("%s: Can't map %d pages at 0x%lx",
> +            DOMPRINTF("%s: Can't map %d pages at 0x%"PRI_xen_pfn,
>                        __FUNCTION__, num_pages, base);
>              goto err;
>          }


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi
  2016-09-28 22:18 ` Boris Ostrovsky
@ 2016-09-28 22:43   ` Wei Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Wei Liu @ 2016-09-28 22:43 UTC (permalink / raw)
  To: Boris Ostrovsky; +Cc: Xen-devel, Wei Liu, Ian Jackson

On Wed, Sep 28, 2016 at 06:18:05PM -0400, Boris Ostrovsky wrote:
> On 09/28/2016 03:28 PM, Wei Liu wrote:
> > This fixes compilation on ARM.
> >
> > Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> 
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> 

Thanks, pushed.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-28 22:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 19:28 [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi Wei Liu
2016-09-28 22:18 ` Boris Ostrovsky
2016-09-28 22:43   ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).