Re: [PATCH 1/7] xen/arm: Make make_cpus_node() compile at -Og

2021-04-22 Thread Julien Grall
Hi Andrew, On 19/04/2021 15:01, Andrew Cooper wrote: When compiling at -Og: domain_build.c: In function 'make_cpus_node': domain_build.c:926:12: error: 'clock_valid' may be used uninitialized in this function [-Werror=maybe-uninitialized] 926 | if ( clock_valid ) |

[PATCH 1/7] xen/arm: Make make_cpus_node() compile at -Og

2021-04-19 Thread Andrew Cooper
When compiling at -Og: domain_build.c: In function 'make_cpus_node': domain_build.c:926:12: error: 'clock_valid' may be used uninitialized in this function [-Werror=maybe-uninitialized] 926 | if ( clock_valid ) |^ The compiler hasn't spotted that clock_valid i