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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/bridge.c
          +++ new/usr/src/uts/common/io/bridge.c
↓ open down ↓ 3486 lines elided ↑ open up ↑
3487 3487      ddi_quiesce_not_supported);
3488 3488  
3489 3489  static struct modldrv modldrv = {
3490 3490          &mod_driverops,
3491 3491          "bridging driver",
3492 3492          &bridge_ops
3493 3493  };
3494 3494  
3495 3495  static struct modlinkage modlinkage = {
3496 3496          MODREV_1,
3497      -        (void *)&modldrv,
3498      -        NULL
     3497 +        { (void *)&modldrv, NULL }
3499 3498  };
3500 3499  
3501 3500  int
3502 3501  _init(void)
3503 3502  {
3504 3503          int retv;
3505 3504  
3506 3505          mac_init_ops(NULL, BRIDGE_DEV_NAME);
3507 3506          bridge_inst_init();
3508 3507          if ((retv = mod_install(&modlinkage)) != 0)
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX