Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -248,12 +248,11 @@
  * module linkage base structure (modctl.h)
  */
 
 static struct modlinkage modlinkage = {
         MODREV_1,               /* revision # of system */
-        &modldrv,               /* NULL terminated list of linkage strucures */
-        NULL
+        { &modldrv, NULL }      /* NULL terminated list of linkage strucures */
 };
 
 /* ===================== start of STREAMS driver code ================== */
 
 #ifdef CONFIG_CHELSIO_T1_OFFLOAD

@@ -270,11 +269,11 @@
 
 /*
  * Ethernet broadcast address definition.
  */
 static struct ether_addr etherbroadcastaddr = {
-        0xff, 0xff, 0xff, 0xff, 0xff, 0xff
+        { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 };
 
 /*
  * Module initialization functions.
  *