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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/bpf/bpf_mod.c
          +++ new/usr/src/uts/common/io/bpf/bpf_mod.c
↓ open down ↓ 98 lines elided ↑ open up ↑
  99   99          bpf_detach,
 100  100          nodev,          /* reset */
 101  101          &bpf_cb_ops,
 102  102          (struct bus_ops *)0
 103  103  };
 104  104  
 105  105  extern struct mod_ops mod_driverops;
 106  106  static struct modldrv bpfmod = {
 107  107          &mod_driverops, "Berkely Packet Filter", &bpf_ops
 108  108  };
 109      -static struct modlinkage modlink1 = { MODREV_1, &bpfmod, NULL };
      109 +static struct modlinkage modlink1 = { MODREV_1, { &bpfmod, NULL } };
 110  110  
 111  111  static dev_info_t *bpf_dev_info = NULL;
 112  112  static net_instance_t *bpf_inst = NULL;
 113  113  
 114  114  int
 115  115  _init()
 116  116  {
 117  117          int bpfinst;
 118  118  
 119  119          bpfinst = mod_install(&modlink1);
↓ open down ↓ 292 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX