Print this page
style updates to uts/intel/io
7127  remove -Wno-missing-braces from Makefile.uts

@@ -113,11 +113,11 @@
         nulldev,
         nulldev,
         cmdk_bbh_gethandle,
         cmdk_bbh_htoc,
         cmdk_bbh_freehandle,
-        0, 0
+        { NULL, NULL }
 };
 
 static int cmdkopen(dev_t *dev_p, int flag, int otyp, cred_t *credp);
 static int cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp);
 static int cmdkstrategy(struct buf *bp);

@@ -192,11 +192,11 @@
         "Common Direct Access Disk",
         &cmdk_ops,                              /* driver ops           */
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modldrv, NULL
+        MODREV_1, { (void *)&modldrv, NULL }
 };
 
 
 #else /* XPV_HVM_DRIVER */
 static struct modlmisc modlmisc = {

@@ -203,11 +203,11 @@
         &mod_miscops,           /* Type of module. This one is a misc */
         "HVM Common Direct Access Disk",
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlmisc, NULL
+        MODREV_1, { (void *)&modlmisc, NULL }
 };
 
 #endif /* XPV_HVM_DRIVER */
 
 /* Function prototypes for cmlb callbacks */