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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/scsi/targets/sgen.c
          +++ new/usr/src/uts/common/io/scsi/targets/sgen.c
↓ open down ↓ 193 lines elided ↑ open up ↑
 194  194          ddi_quiesce_not_supported,      /* devo_quiesce */
 195  195  };
 196  196  
 197  197  static void *sgen_soft_state = NULL;
 198  198  
 199  199  static struct modldrv modldrv = {
 200  200          &mod_driverops, "SCSI generic driver", &sgen_dev_ops
 201  201  };
 202  202  
 203  203  static struct modlinkage modlinkage = {
 204      -        MODREV_1, &modldrv, NULL
      204 +        MODREV_1, { &modldrv, NULL }
 205  205  };
 206  206  
 207  207  int
 208  208  _init(void)
 209  209  {
 210  210          int err;
 211  211  
 212  212          /* establish driver name from module name */
 213  213          sgen_label = (char *)mod_modname(&modlinkage);
 214  214  
↓ open down ↓ 1905 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX