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_6322.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_6322.c
↓ open down ↓ 6931 lines elided ↑ open up ↑
6932 6932   */
6933 6933  
6934 6934  #include <sys/modctl.h>
6935 6935  
6936 6936  static struct modlmisc modlmisc = {
6937 6937          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
6938 6938  };
6939 6939  
6940 6940  static struct modlinkage modlinkage = {
6941 6941          MODREV_1,
6942      -        (void *)&modlmisc
     6942 +        { (void *)&modlmisc, NULL }
6943 6943  };
6944 6944  
6945 6945  int
6946 6946  _init()
6947 6947  {
6948 6948          return (mod_install(&modlinkage));
6949 6949  }
6950 6950  
6951 6951  int
6952 6952  _fini()
6953 6953  {
6954 6954          return (mod_remove(&modlinkage));
6955 6955  }
6956 6956  
6957 6957  int
6958 6958  _info(struct modinfo *mip)
6959 6959  {
6960 6960          return (mod_info(&modlinkage, mip));
6961 6961  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX