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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/emul64.c
          +++ new/usr/src/uts/common/io/emul64.c
↓ open down ↓ 205 lines elided ↑ open up ↑
 206  206  };
 207  207  
 208  208  static struct modldrv modldrv = {
 209  209          &mod_driverops,                 /* module type - driver */
 210  210          "emul64 SCSI Host Bus Adapter", /* module name */
 211  211          &emul64_ops,                    /* driver ops */
 212  212  };
 213  213  
 214  214  static struct modlinkage modlinkage = {
 215  215          MODREV_1,                       /* ml_rev - must be MODREV_1 */
 216      -        &modldrv,                       /* ml_linkage */
 217      -        NULL                            /* end of driver linkage */
      216 +        { &modldrv, NULL }              /* ml_linkage */
 218  217  };
 219  218  
 220  219  int
 221  220  _init(void)
 222  221  {
 223  222          int     ret;
 224  223  
 225  224          ret = ddi_soft_state_init(&emul64_state, sizeof (struct emul64),
 226  225              EMUL64_INITIAL_SOFT_SPACE);
 227  226          if (ret != 0)
↓ open down ↓ 1424 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX