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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/gen_drv.c
          +++ new/usr/src/uts/common/io/gen_drv.c
↓ open down ↓ 155 lines elided ↑ open up ↑
 156  156  };
 157  157  #define N_NTYPES        (sizeof (mnodetypes) / sizeof (char *))
 158  158  
 159  159  static struct modldrv modldrv = {
 160  160          &mod_driverops,
 161  161          "generic test driver",
 162  162          &gen_ops
 163  163  };
 164  164  
 165  165  static struct modlinkage modlinkage = {
 166      -        MODREV_1, &modldrv, NULL
      166 +        MODREV_1, { &modldrv, NULL }
 167  167  };
 168  168  
 169  169  
 170  170  /*
 171  171   * flags
 172  172   */
 173  173  #define OPEN_FLAG                       0x001
 174  174  #define PWR_HAS_CHANGED_ON_RESUME_FLAG  0x002
 175  175  #define FAIL_SUSPEND_FLAG               0x004
 176  176  #define PUP_WITH_PWR_HAS_CHANGED_FLAG   0x008
↓ open down ↓ 1436 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX