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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xenbus_dev.c
          +++ new/usr/src/uts/common/xen/io/xenbus_dev.c
↓ open down ↓ 181 lines elided ↑ open up ↑
 182  182  };
 183  183  
 184  184  static struct modldrv modldrv = {
 185  185          &mod_driverops,         /* Type of module.  This one is a driver */
 186  186          "virtual bus driver",   /* Name of the module. */
 187  187          &xenbusdrv_dev_ops      /* driver ops */
 188  188  };
 189  189  
 190  190  static struct modlinkage modlinkage = {
 191  191          MODREV_1,
 192      -        &modldrv,
 193      -        NULL
      192 +        { &modldrv, NULL }
 194  193  };
 195  194  
 196  195  int
 197  196  _init(void)
 198  197  {
 199  198          int e;
 200  199  
 201  200          e = ddi_soft_state_init(&xenbusdrv_statep, sizeof (xenbus_dev_t), 1);
 202  201          if (e)
 203  202                  return (e);
↓ open down ↓ 474 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX