>>> On 26.09.17 at 10:46, <roger....@citrix.com> wrote: > On Sat, Sep 23, 2017 at 09:48:14AM +0000, Yi Sun wrote: >> --- a/xen/arch/x86/sysctl.c >> +++ b/xen/arch/x86/sysctl.c >> @@ -174,7 +174,7 @@ long arch_do_sysctl( >> case XEN_SYSCTL_psr_alloc: >> switch ( sysctl->u.psr_alloc.cmd ) >> { >> - uint32_t data[PSR_INFO_ARRAY_SIZE]; >> + uint32_t data[PSR_INFO_ARRAY_SIZE] = {0}; > > I would rather do "{ 0 };" or "{ };" (note the spaces around the 0).
The latter of the two suggested variants please. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel