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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/ipmi/ipmi_main.c
          +++ new/usr/src/uts/intel/io/ipmi/ipmi_main.c
↓ open down ↓ 616 lines elided ↑ open up ↑
 617  617          NULL,                   /* bus ops */
 618  618          NULL,                   /* power */
 619  619          ddi_quiesce_not_needed,
 620  620  };
 621  621  
 622  622  static struct modldrv md = {
 623  623          &mod_driverops, "ipmi driver", &ipmi_ops
 624  624  };
 625  625  
 626  626  static struct modlinkage ml = {
 627      -        MODREV_1, &md, NULL
      627 +        MODREV_1, { &md, NULL }
 628  628  };
 629  629  
 630  630  int
 631  631  _init(void)
 632  632  {
 633  633          return (mod_install(&ml));
 634  634  }
 635  635  
 636  636  int
 637  637  _fini(void)
 638  638  {
 639  639          return (mod_remove(&ml));
 640  640  }
 641  641  
 642  642  int
 643  643  _info(struct modinfo *mip)
 644  644  {
 645  645          return (mod_info(&ml, mip));
 646  646  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX