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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/intel_nb5000/intel_nbdrv.c
          +++ new/usr/src/uts/intel/io/intel_nb5000/intel_nbdrv.c
↓ open down ↓ 512 lines elided ↑ open up ↑
 513  513  };
 514  514  
 515  515  static struct modldrv modldrv = {
 516  516          &mod_driverops,
 517  517          "Intel 5000 Memory Controller Hub Module",
 518  518          &inb_mc_ops
 519  519  };
 520  520  
 521  521  static struct modlinkage modlinkage = {
 522  522          MODREV_1,
 523      -        (void *)&modldrv,
 524      -        NULL
      523 +        { (void *)&modldrv, NULL }
 525  524  };
 526  525  
 527  526  int
 528  527  _init(void)
 529  528  {
 530  529          int err;
 531  530  
 532  531          err = nb_init();
 533  532          if (err == 0 && (err = mod_install(&modlinkage)) == 0)
 534  533                  rw_init(&inb_mc_lock, NULL, RW_DRIVER, NULL);
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX