[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for 4.6] tools/xen-access: use PRI_xen_pfn
On Thu, 2015-09-03 at 19:27 +0100, Wei Liu wrote: > Otherwise when building with 32bit compiler, we get: > > xen-access.c: In function 'xenaccess_init': > xen-access.c:263:5: error: format '%llx' expects argument of type 'long > long unsigned int', but argument 3 has type 'xen_pfn_t' [-Werror=format] > cc1: all warnings being treated as errors > > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Applied with both acks. > --- > Cc: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> > Cc: Tamas K Lengyel <tamas@xxxxxxxxxxxxx> > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> > --- > tools/tests/xen-access/xen-access.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/tests/xen-access/xen-access.c b/tools/tests/xen > -access/xen-access.c > index cdb8f4e..a52ca6e 100644 > --- a/tools/tests/xen-access/xen-access.c > +++ b/tools/tests/xen-access/xen-access.c > @@ -260,7 +260,7 @@ xenaccess_t *xenaccess_init(xc_interface **xch_r, > domid_t domain_id) > goto err; > } > > - DPRINTF("max_gpfn = %"PRIx64"\n", xenaccess->max_gpfn); > + DPRINTF("max_gpfn = %"PRI_xen_pfn"\n", xenaccess->max_gpfn); > > return xenaccess; > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |