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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/ucode_drv.c
          +++ new/usr/src/uts/intel/io/ucode_drv.c
↓ open down ↓ 296 lines elided ↑ open up ↑
 297  297  };
 298  298  
 299  299  static struct modldrv modldrv = {
 300  300          &mod_driverops,
 301  301          "ucode driver",
 302  302          &ucode_dv_ops
 303  303  };
 304  304  
 305  305  static struct modlinkage modl = {
 306  306          MODREV_1,
 307      -        &modldrv
      307 +        { &modldrv, NULL }
 308  308  };
 309  309  
 310  310  int
 311  311  _init(void)
 312  312  {
 313  313          int rc;
 314  314  
 315  315          if ((rc = mod_install(&modl)) != 0)
 316  316                  return (rc);
 317  317  
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX