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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/cpu/amd_opteron/ao_main.c
          +++ new/usr/src/uts/i86pc/cpu/amd_opteron/ao_main.c
↓ open down ↓ 139 lines elided ↑ open up ↑
 140  140          NULL,                           /* cms_fini */
 141  141  };
 142  142  
 143  143  static struct modlcpu modlcpu = {
 144  144          &mod_cpuops,
 145  145          "AMD Athlon64/Opteron Model-Specific Support"
 146  146  };
 147  147  
 148  148  static struct modlinkage modlinkage = {
 149  149          MODREV_1,
 150      -        (void *)&modlcpu,
 151      -        NULL
      150 +        { (void *)&modlcpu, NULL }
 152  151  };
 153  152  
 154  153  int
 155  154  _init(void)
 156  155  {
 157  156          return (mod_install(&modlinkage));
 158  157  }
 159  158  
 160  159  int
 161  160  _info(struct modinfo *modinfop)
 162  161  {
 163  162          return (mod_info(&modlinkage, modinfop));
 164  163  }
 165  164  
 166  165  int
 167  166  _fini(void)
 168  167  {
 169  168          return (mod_remove(&modlinkage));
 170  169  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX