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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xnf.c
          +++ new/usr/src/uts/common/xen/io/xnf.c
↓ open down ↓ 309 lines elided ↑ open up ↑
 310  310  DDI_DEFINE_STREAM_OPS(xnf_dev_ops, nulldev, nulldev, xnf_attach, xnf_detach,
 311  311      nodev, NULL, D_MP, NULL, ddi_quiesce_not_supported);
 312  312  
 313  313  static struct modldrv xnf_modldrv = {
 314  314          &mod_driverops,
 315  315          "Virtual Ethernet driver",
 316  316          &xnf_dev_ops
 317  317  };
 318  318  
 319  319  static struct modlinkage modlinkage = {
 320      -        MODREV_1, &xnf_modldrv, NULL
      320 +        MODREV_1, { &xnf_modldrv, NULL }
 321  321  };
 322  322  
 323  323  int
 324  324  _init(void)
 325  325  {
 326  326          int r;
 327  327  
 328  328          mac_init_ops(&xnf_dev_ops, "xnf");
 329  329          r = mod_install(&modlinkage);
 330  330          if (r != DDI_SUCCESS)
↓ open down ↓ 2429 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX