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_2200.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_2200.c
↓ open down ↓ 5897 lines elided ↑ open up ↑
5898 5898   */
5899 5899  
5900 5900  #include <sys/modctl.h>
5901 5901  
5902 5902  static struct modlmisc modlmisc = {
5903 5903          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
5904 5904  };
5905 5905  
5906 5906  static struct modlinkage modlinkage = {
5907 5907          MODREV_1,
5908      -        (void *)&modlmisc
     5908 +        { (void *)&modlmisc, NULL }
5909 5909  };
5910 5910  
5911 5911  int
5912 5912  _init()
5913 5913  {
5914 5914          return (mod_install(&modlinkage));
5915 5915  }
5916 5916  
5917 5917  int
5918 5918  _fini()
5919 5919  {
5920 5920          return (mod_remove(&modlinkage));
5921 5921  }
5922 5922  
5923 5923  int
5924 5924  _info(struct modinfo *mip)
5925 5925  {
5926 5926          return (mod_info(&modlinkage, mip));
5927 5927  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX