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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mega_sas/megaraid_sas.c
          +++ new/usr/src/uts/common/io/mega_sas/megaraid_sas.c
↓ open down ↓ 142 lines elided ↑ open up ↑
 143  143          ddi_quiesce_not_supported,      /* devo_quiesce */
 144  144  };
 145  145  
 146  146  static struct modldrv modldrv = {
 147  147          &mod_driverops,         /* module type - driver */
 148  148          MEGASAS_VERSION,
 149  149          &megasas_ops,           /* driver ops */
 150  150  };
 151  151  
 152  152  static struct modlinkage modlinkage = {
 153      -        MODREV_1,       /* ml_rev - must be MODREV_1 */
 154      -        &modldrv,       /* ml_linkage */
 155      -        NULL            /* end of driver linkage */
      153 +        MODREV_1,               /* ml_rev - must be MODREV_1 */
      154 +        { &modldrv, NULL }      /* ml_linkage */
 156  155  };
 157  156  
 158  157  static struct ddi_device_acc_attr endian_attr = {
 159  158          DDI_DEVICE_ATTR_V1,
 160  159          DDI_STRUCTURE_LE_ACC,
 161  160          DDI_STRICTORDER_ACC,
 162  161          DDI_DEFAULT_ACC
 163  162  };
 164  163  
 165  164  
↓ open down ↓ 4826 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX