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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_2300.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_2300.c
↓ open down ↓ 7525 lines elided ↑ open up ↑
7526 7526   */
7527 7527  
7528 7528  #include <sys/modctl.h>
7529 7529  
7530 7530  static struct modlmisc modlmisc = {
7531 7531          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
7532 7532  };
7533 7533  
7534 7534  static struct modlinkage modlinkage = {
7535 7535          MODREV_1,
7536      -        (void *)&modlmisc
     7536 +        { (void *)&modlmisc, NULL }
7537 7537  };
7538 7538  
7539 7539  int
7540 7540  _init()
7541 7541  {
7542 7542          return (mod_install(&modlinkage));
7543 7543  }
7544 7544  
7545 7545  int
7546 7546  _fini()
7547 7547  {
7548 7548          return (mod_remove(&modlinkage));
7549 7549  }
7550 7550  
7551 7551  int
7552 7552  _info(struct modinfo *mip)
7553 7553  {
7554 7554          return (mod_info(&modlinkage, mip));
7555 7555  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX