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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/clients/ugen/ugen.c
          +++ new/usr/src/uts/common/io/usb/clients/ugen/ugen.c
↓ open down ↓ 110 lines elided ↑ open up ↑
 111  111  };
 112  112  
 113  113  static struct modldrv modldrv = {
 114  114          &mod_driverops,                 /* Module type */
 115  115          "USB Generic driver",   /* Name of the module. */
 116  116          &ugen_skel_ops,                 /* driver ops */
 117  117  };
 118  118  
 119  119  static struct modlinkage modlinkage = {
 120  120          MODREV_1,
 121      -        (void *)&modldrv,
 122      -        NULL
      121 +        { (void *)&modldrv, NULL }
 123  122  };
 124  123  
 125  124  
 126  125  int
 127  126  _init()
 128  127  {
 129  128          int     rval;
 130  129  
 131  130          if ((rval = ddi_soft_state_init(&ugen_skel_statep,
 132  131              sizeof (ugen_skel_state_t), UGEN_INSTANCES)) != 0) {
↓ open down ↓ 334 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX