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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/hxge/hxge_main.c
          +++ new/usr/src/uts/common/io/hxge/hxge_main.c
↓ open down ↓ 3535 lines elided ↑ open up ↑
3536 3536  /*
3537 3537   * Module linkage information for the kernel.
3538 3538   */
3539 3539  static struct modldrv hxge_modldrv = {
3540 3540          &mod_driverops,
3541 3541          HXGE_DESC_VER,
3542 3542          &hxge_dev_ops
3543 3543  };
3544 3544  
3545 3545  static struct modlinkage modlinkage = {
3546      -        MODREV_1, (void *) &hxge_modldrv, NULL
     3546 +        MODREV_1, { (void *) &hxge_modldrv, NULL }
3547 3547  };
3548 3548  
3549 3549  int
3550 3550  _init(void)
3551 3551  {
3552 3552          int status;
3553 3553  
3554 3554          HXGE_DEBUG_MSG((NULL, MOD_CTL, "==> _init"));
3555 3555          mac_init_ops(&hxge_dev_ops, "hxge");
3556 3556          status = ddi_soft_state_init(&hxge_list, sizeof (hxge_t), 0);
↓ open down ↓ 971 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX