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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/vnic/vnic_ctl.c
          +++ new/usr/src/uts/common/io/vnic/vnic_ctl.c
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61  DDI_DEFINE_STREAM_OPS(vnic_dev_ops, nulldev, nulldev, vnic_attach, vnic_detach,
  62   62      nodev, vnic_getinfo, D_MP, NULL, ddi_quiesce_not_supported);
  63   63  
  64   64  static struct modldrv vnic_modldrv = {
  65   65          &mod_driverops,         /* Type of module.  This one is a driver */
  66   66          VNIC_LINKINFO,          /* short description */
  67   67          &vnic_dev_ops           /* driver specific ops */
  68   68  };
  69   69  
  70   70  static struct modlinkage modlinkage = {
  71      -        MODREV_1, &vnic_modldrv, NULL
       71 +        MODREV_1, { &vnic_modldrv, NULL }
  72   72  };
  73   73  
  74   74  int
  75   75  _init(void)
  76   76  {
  77   77          int     status;
  78   78  
  79   79          mac_init_ops(&vnic_dev_ops, "vnic");
  80   80          status = mod_install(&modlinkage);
  81   81          if (status != DDI_SUCCESS)
↓ open down ↓ 245 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX