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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/cpu/generic_cpu/gcpu_main.c
          +++ new/usr/src/uts/i86pc/cpu/generic_cpu/gcpu_main.c
↓ open down ↓ 187 lines elided ↑ open up ↑
 188  188          GCPU_OP(NULL, gcpu_xpv_panic_callback), /* cmi_panic_callback */
 189  189  };
 190  190  
 191  191  static struct modlcpu modlcpu = {
 192  192          &mod_cpuops,
 193  193          "Generic x86 CPU Module"
 194  194  };
 195  195  
 196  196  static struct modlinkage modlinkage = {
 197  197          MODREV_1,
 198      -        (void *)&modlcpu,
 199      -        NULL
      198 +        { (void *)&modlcpu, NULL }
 200  199  };
 201  200  
 202  201  int
 203  202  _init(void)
 204  203  {
 205  204          return (mod_install(&modlinkage));
 206  205  }
 207  206  
 208  207  int
 209  208  _info(struct modinfo *modinfop)
 210  209  {
 211  210          return (mod_info(&modlinkage, modinfop));
 212  211  }
 213  212  
 214  213  int
 215  214  _fini(void)
 216  215  {
 217  216          return (mod_remove(&modlinkage));
 218  217  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX