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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/aggr/aggr_dev.c
          +++ new/usr/src/uts/common/io/aggr/aggr_dev.c
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45  DDI_DEFINE_STREAM_OPS(aggr_dev_ops, nulldev, nulldev, aggr_attach, aggr_detach,
  46   46      nodev, aggr_getinfo, D_MP, NULL, ddi_quiesce_not_supported);
  47   47  
  48   48  static struct modldrv aggr_modldrv = {
  49   49          &mod_driverops,         /* Type of module.  This one is a driver */
  50   50          AGGR_LINKINFO,          /* short description */
  51   51          &aggr_dev_ops           /* driver specific ops */
  52   52  };
  53   53  
  54   54  static struct modlinkage modlinkage = {
  55      -        MODREV_1, &aggr_modldrv, NULL
       55 +        MODREV_1, { &aggr_modldrv, NULL }
  56   56  };
  57   57  
  58   58  int
  59   59  _init(void)
  60   60  {
  61   61          int     err;
  62   62  
  63   63          mac_init_ops(&aggr_dev_ops, "aggr");
  64   64          if ((err = mod_install(&modlinkage)) != 0)
  65   65                  mac_fini_ops(&aggr_dev_ops);
↓ open down ↓ 83 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX