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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/cpu/authenticamd/authamd_main.c
          +++ new/usr/src/uts/i86pc/cpu/authenticamd/authamd_main.c
↓ open down ↓ 1144 lines elided ↑ open up ↑
1145 1145          NULL,                           /* cms_fini */
1146 1146  };
1147 1147  
1148 1148  static struct modlcpu modlcpu = {
1149 1149          &mod_cpuops,
1150 1150          "Generic AMD model-specific MCA"
1151 1151  };
1152 1152  
1153 1153  static struct modlinkage modlinkage = {
1154 1154          MODREV_1,
1155      -        (void *)&modlcpu,
1156      -        NULL
     1155 +        { (void *)&modlcpu, NULL }
1157 1156  };
1158 1157  
1159 1158  int
1160 1159  _init(void)
1161 1160  {
1162 1161          return (mod_install(&modlinkage));
1163 1162  }
1164 1163  
1165 1164  int
1166 1165  _info(struct modinfo *modinfop)
1167 1166  {
1168 1167          return (mod_info(&modlinkage, modinfop));
1169 1168  }
1170 1169  
1171 1170  int
1172 1171  _fini(void)
1173 1172  {
1174 1173          return (mod_remove(&modlinkage));
1175 1174  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX