]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commitdiff
Specify initalisers for each structure item
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 15 Feb 2016 15:33:23 +0000 (15:33 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 15 Feb 2016 15:33:23 +0000 (15:33 +0000)
Fixes an error from clang.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/pv/traps.c

index 7f9a1908d260659c10f5cbb1d2d234c9fea1edb5..635544a1187a0736abd8323421d6cce6f92840ff 100644 (file)
@@ -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)