From: Andrew Cooper Date: Mon, 15 Feb 2016 15:33:23 +0000 (+0000) Subject: Specify initalisers for each structure item X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0d59281b2f35053ff05be59e7480cc4b28bed3c8;p=people%2Froyger%2Fxen-test-framework.git Specify initalisers for each structure item Fixes an error from clang. Signed-off-by: Andrew Cooper --- diff --git a/arch/x86/pv/traps.c b/arch/x86/pv/traps.c index 7f9a190..635544a 100644 --- a/arch/x86/pv/traps.c +++ b/arch/x86/pv/traps.c @@ -52,7 +52,7 @@ struct xen_trap_info pv_default_trap_info[] = { 0x20, 3|4, __KERN_CS, (unsigned long)&entry_ret_to_kernel }, - { 0 }, /* Sentinel. */ + { 0, 0, 0, 0 }, /* Sentinel. */ }; void arch_init_traps(void)