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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/eventfd.c
          +++ new/usr/src/uts/common/io/eventfd.c
↓ open down ↓ 393 lines elided ↑ open up ↑
 394  394  };
 395  395  
 396  396  static struct modldrv modldrv = {
 397  397          &mod_driverops,         /* module type (this is a pseudo driver) */
 398  398          "eventfd support",      /* name of module */
 399  399          &eventfd_ops,           /* driver ops */
 400  400  };
 401  401  
 402  402  static struct modlinkage modlinkage = {
 403  403          MODREV_1,
 404      -        (void *)&modldrv,
 405      -        NULL
      404 +        { (void *)&modldrv, NULL }
 406  405  };
 407  406  
 408  407  int
 409  408  _init(void)
 410  409  {
 411  410          return (mod_install(&modlinkage));
 412  411  }
 413  412  
 414  413  int
 415  414  _info(struct modinfo *modinfop)
 416  415  {
 417  416          return (mod_info(&modlinkage, modinfop));
 418  417  }
 419  418  
 420  419  int
 421  420  _fini(void)
 422  421  {
 423  422          return (mod_remove(&modlinkage));
 424  423  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX