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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/cpu/genuineintel/gintel_main.c
          +++ new/usr/src/uts/i86pc/cpu/genuineintel/gintel_main.c
↓ open down ↓ 595 lines elided ↑ open up ↑
 596  596          NULL,                   /* cms_fini */
 597  597  };
 598  598  
 599  599  static struct modlcpu modlcpu = {
 600  600          &mod_cpuops,
 601  601          "Generic Intel model-specific MCA"
 602  602  };
 603  603  
 604  604  static struct modlinkage modlinkage = {
 605  605          MODREV_1,
 606      -        (void *)&modlcpu,
 607      -        NULL
      606 +        { (void *)&modlcpu, NULL }
 608  607  };
 609  608  
 610  609  int
 611  610  _init(void)
 612  611  {
 613  612          return (mod_install(&modlinkage));
 614  613  }
 615  614  
 616  615  int
 617  616  _info(struct modinfo *modinfop)
 618  617  {
 619  618          return (mod_info(&modlinkage, modinfop));
 620  619  }
 621  620  
 622  621  int
 623  622  _fini(void)
 624  623  {
 625  624          return (mod_remove(&modlinkage));
 626  625  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX