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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/evtchn_dev.c
          +++ new/usr/src/uts/common/xen/io/evtchn_dev.c
↓ open down ↓ 688 lines elided ↑ open up ↑
 689  689  };
 690  690  
 691  691  static struct modldrv modldrv = {
 692  692          &mod_driverops,         /* Type of module.  This one is a driver */
 693  693          "Evtchn driver",        /* Name of the module. */
 694  694          &evtchndrv_dev_ops      /* driver ops */
 695  695  };
 696  696  
 697  697  static struct modlinkage modlinkage = {
 698  698          MODREV_1,
 699      -        &modldrv,
 700      -        NULL
      699 +        { &modldrv, NULL }
 701  700  };
 702  701  
 703  702  int
 704  703  _init(void)
 705  704  {
 706  705          int err;
 707  706  
 708  707          err = ddi_soft_state_init(&evtchndrv_statep,
 709  708              sizeof (struct evtsoftdata), 1);
 710  709          if (err)
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX