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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xencons.c
          +++ new/usr/src/uts/common/xen/io/xencons.c
↓ open down ↓ 1608 lines elided ↑ open up ↑
1609 1609  };
1610 1610  
1611 1611  static struct modldrv modldrv = {
1612 1612          &mod_driverops, /* Type of module.  This one is a driver */
1613 1613          "virtual console driver",
1614 1614          &xencons_ops,   /* driver ops */
1615 1615  };
1616 1616  
1617 1617  static struct modlinkage modlinkage = {
1618 1618          MODREV_1,
1619      -        (void *)&modldrv,
1620      -        NULL
     1619 +        { (void *)&modldrv, NULL }
1621 1620  };
1622 1621  
1623 1622  int
1624 1623  _init(void)
1625 1624  {
1626 1625          int rv;
1627 1626  
1628 1627          if ((rv = ddi_soft_state_init(&xencons_soft_state,
1629 1628              sizeof (struct xencons), 1)) != 0)
1630 1629                  return (rv);
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX