Re: [Xen-devel] [PATCH for 4.6] tools/xen-access: use PRI_xen_pfn

2015-09-04 Thread Ian Campbell
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=for

Re: [Xen-devel] [PATCH for 4.6] tools/xen-access: use PRI_xen_pfn

2015-09-03 Thread Razvan Cojocaru
On 09/03/2015 09:27 PM, 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:

Re: [Xen-devel] [PATCH for 4.6] tools/xen-access: use PRI_xen_pfn

2015-09-03 Thread Tamas K Lengyel
On Thu, Sep 3, 2015 at 12:27 PM, 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=forma

[Xen-devel] [PATCH for 4.6] tools/xen-access: use PRI_xen_pfn

2015-09-03 Thread Wei Liu
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-b