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

@@ -75,11 +75,11 @@
 struct tgcom_objops dadk_com_ops = {
         nodev,
         nodev,
         dadk_pkt,
         dadk_transport,
-        0, 0
+        { NULL, NULL }
 };
 
 /*
  * architecture dependent allocation restrictions for dadk_iob_alloc(). For
  * x86, we'll set dma_attr_addr_hi to dadk_max_phys_addr and dma_attr_sgllen

@@ -151,11 +151,11 @@
         dadk_getphygeom,
         dadk_set_bbhobj,
         dadk_check_media,
         dadk_inquiry,
         dadk_cleanup,
-        0
+        { NULL }
 };
 
 /*
  * Local static data
  */

@@ -246,11 +246,11 @@
         &mod_miscops,   /* Type of module */
         "Direct Attached Disk"
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlmisc, NULL
+        MODREV_1, { (void *)&modlmisc, NULL }
 };
 
 int
 _init(void)
 {