Re: [Xen-devel] [PATCH] build/printf: fix incorrect format specifiers

2017-02-10 Thread Jan Beulich
>>> On 09.02.17 at 17:35, wrote: > --- a/xen/arch/x86/cpu/mcheck/mce.c > +++ b/xen/arch/x86/cpu/mcheck/mce.c > @@ -596,8 +596,8 @@ int show_mca_info(int inited, struct cpuinfo_x86 *c) > }; > > snprintf(prefix, ARRAY_SIZE(prefix), > -

Re: [Xen-devel] [PATCH] build/printf: fix incorrect format specifiers

2017-02-09 Thread Roger Pau Monne
On Thu, Feb 09, 2017 at 04:42:00PM +, Ian Jackson wrote: > Roger Pau Monne writes ("[PATCH] build/printf: fix incorrect format > specifiers"): > > The following incorrect format specifiers and incorrect number of parameters > > passed to printf like functions are reported by clang: > > Do we

[Xen-devel] [PATCH] build/printf: fix incorrect format specifiers

2017-02-09 Thread Roger Pau Monne
The following incorrect format specifiers and incorrect number of parameters passed to printf like functions are reported by clang: grant_table.c:3289:17: error: format specifies type 'unsigned short' but the argument has type 'grant_handle_t' (aka 'unsigned int') [-Werror,-Wformat]