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_8100.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_8100.c
↓ open down ↓ 13058 lines elided ↑ open up ↑
13059 13059   */
13060 13060  
13061 13061  #include <sys/modctl.h>
13062 13062  
13063 13063  static struct modlmisc modlmisc = {
13064 13064          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
13065 13065  };
13066 13066  
13067 13067  static struct modlinkage modlinkage = {
13068 13068          MODREV_1,
13069      -        (void *)&modlmisc
     13069 +        { (void *)&modlmisc, NULL }
13070 13070  };
13071 13071  
13072 13072  int
13073 13073  _init()
13074 13074  {
13075 13075          return (mod_install(&modlinkage));
13076 13076  }
13077 13077  
13078 13078  int
13079 13079  _fini()
13080 13080  {
13081 13081          return (mod_remove(&modlinkage));
13082 13082  }
13083 13083  
13084 13084  int
13085 13085  _info(struct modinfo *mip)
13086 13086  {
13087 13087          return (mod_info(&modlinkage, mip));
13088 13088  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX