[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/cpuid: Fix build with CentOS 6 following c/s 7479151106



On 09.09.2019 17:55, Andrew Cooper wrote:
> GCC of a CentOS 6 vintage complains:
> 
>   cpuid.c: In function 'parse_xen_cpuid':
>   cpuid.c:32: error: 'mid' may be used uninitialized in this function
> 
> This can't occur in practice because the while() loop is guarenteed to be
> entered, but initialise mid to work around the issues.
> 
> Spotted by Gitlab CI.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Ah, yes, thanks. I too had noticed this yesterday, but didn't get
around to check what the correct workaround would be.

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.