Re: [Xen-devel] [PATCH] tools/xen-cpuid: Fix 32bit build

2018-11-07 Thread Wei Liu
On Wed, Nov 07, 2018 at 12:53:24PM +, Andrew Cooper wrote: > Clang reports: > > xen-cpuid.c:307:29: error: format specifies type 'unsigned long' but the > argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] > > msrs[l].idx, msrs[l].val); >

[Xen-devel] [PATCH] tools/xen-cpuid: Fix 32bit build

2018-11-07 Thread Andrew Cooper
Clang reports: xen-cpuid.c:307:29: error: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] msrs[l].idx, msrs[l].val); ^~~ Use PRIx64 instead. Signed-off-by: Andrew