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/smp.c
          +++ new/usr/src/uts/common/io/scsi/targets/smp.c
↓ open down ↓ 104 lines elided ↑ open up ↑
 105  105          ddi_quiesce_not_needed,         /* quiesce */
 106  106  };
 107  107  
 108  108  static void *smp_soft_state = NULL;
 109  109  
 110  110  static struct modldrv modldrv = {
 111  111          &mod_driverops, "smp device driver", &smp_dev_ops
 112  112  };
 113  113  
 114  114  static struct modlinkage modlinkage = {
 115      -        MODREV_1, &modldrv, NULL
      115 +        MODREV_1, { &modldrv, NULL }
 116  116  };
 117  117  
 118  118  int
 119  119  _init(void)
 120  120  {
 121  121          int err;
 122  122  
 123  123          if ((err = ddi_soft_state_init(&smp_soft_state,
 124  124              sizeof (smp_state_t), SMP_ESTIMATED_NUM_DEVS)) != 0) {
 125  125                  return (err);
↓ open down ↓ 471 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX