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_2500.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_2500.c
↓ open down ↓ 14994 lines elided ↑ open up ↑
14995 14995   */
14996 14996  
14997 14997  #include <sys/modctl.h>
14998 14998  
14999 14999  static struct modlmisc modlmisc = {
15000 15000          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
15001 15001  };
15002 15002  
15003 15003  static struct modlinkage modlinkage = {
15004 15004          MODREV_1,
15005      -        (void *)&modlmisc
     15005 +        { (void *)&modlmisc, NULL }
15006 15006  };
15007 15007  
15008 15008  int
15009 15009  _init()
15010 15010  {
15011 15011          return (mod_install(&modlinkage));
15012 15012  }
15013 15013  
15014 15014  int
15015 15015  _fini()
15016 15016  {
15017 15017          return (mod_remove(&modlinkage));
15018 15018  }
15019 15019  
15020 15020  int
15021 15021  _info(struct modinfo *mip)
15022 15022  {
15023 15023          return (mod_info(&modlinkage, mip));
15024 15024  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX