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 <[email protected]>
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 <[email protected]> Jan _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
