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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/intel_nhm/intel_nhmdrv.c
          +++ new/usr/src/uts/intel/io/intel_nhm/intel_nhmdrv.c
↓ open down ↓ 302 lines elided ↑ open up ↑
 303  303  };
 304  304  
 305  305  static struct modldrv modldrv = {
 306  306          &mod_driverops,
 307  307          "Intel QuickPath Memory Controller Hub Module",
 308  308          &inhm_mc_ops
 309  309  };
 310  310  
 311  311  static struct modlinkage modlinkage = {
 312  312          MODREV_1,
 313      -        (void *)&modldrv,
 314      -        NULL
      313 +        { (void *)&modldrv, NULL }
 315  314  };
 316  315  
 317  316  int
 318  317  _init(void)
 319  318  {
 320  319          int err;
 321  320  
 322  321          err = nhm_init();
 323  322          if (err == 0 && (err = mod_install(&modlinkage)) == 0) {
 324  323                  rw_init(&inhm_mc_lock, NULL, RW_DRIVER, NULL);
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX