 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v9 06/16] x86: implement get hw info flow for MBA
 >>> On 20.10.17 at 10:28, <yi.y.sun@xxxxxxxxxxxxxxx> 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] = { };
>  
>          case XEN_SYSCTL_PSR_get_l3_info:
>          {
This validly failed my commit time build check: gcc 7.2 warns about
the code which would be generated would never be executed. I'm
therefore going to push only the first five patches of this series.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |