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.coop...@citrix.com>

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 <jbeul...@suse.com>

Jan

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

Reply via email to