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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/usb_ia/usb_ia.c
          +++ new/usr/src/uts/common/io/usb/usb_ia/usb_ia.c
↓ open down ↓ 172 lines elided ↑ open up ↑
 173  173          ddi_quiesce_not_needed, /* devo_quiesce */
 174  174  };
 175  175  
 176  176  static struct modldrv modldrv = {
 177  177          &mod_driverops, /* Type of module. This one is a driver */
 178  178          "USB Interface Association Driver", /* Name of the module. */
 179  179          &usb_ia_ops,    /* driver ops */
 180  180  };
 181  181  
 182  182  static struct modlinkage modlinkage = {
 183      -        MODREV_1, (void *)&modldrv, NULL
      183 +        MODREV_1, { (void *)&modldrv, NULL }
 184  184  };
 185  185  
 186  186  #define USB_IA_INITIAL_SOFT_SPACE 4
 187  187  static  void    *usb_ia_statep;
 188  188  
 189  189  /*
 190  190   * event definition
 191  191   */
 192  192  static ndi_event_definition_t usb_ia_ndi_event_defs[] = {
 193  193          {USBA_EVENT_TAG_HOT_REMOVAL, DDI_DEVI_REMOVE_EVENT, EPL_KERNEL,
↓ open down ↓ 1042 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX