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_2400.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/ql_fw_2400.c
↓ open down ↓ 15670 lines elided ↑ open up ↑
15671 15671   */
15672 15672  
15673 15673  #include <sys/modctl.h>
15674 15674  
15675 15675  static struct modlmisc modlmisc = {
15676 15676          &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
15677 15677  };
15678 15678  
15679 15679  static struct modlinkage modlinkage = {
15680 15680          MODREV_1,
15681      -        (void *)&modlmisc
     15681 +        { (void *)&modlmisc, NULL }
15682 15682  };
15683 15683  
15684 15684  int
15685 15685  _init()
15686 15686  {
15687 15687          return (mod_install(&modlinkage));
15688 15688  }
15689 15689  
15690 15690  int
15691 15691  _fini()
15692 15692  {
15693 15693          return (mod_remove(&modlinkage));
15694 15694  }
15695 15695  
15696 15696  int
15697 15697  _info(struct modinfo *mip)
15698 15698  {
15699 15699          return (mod_info(&modlinkage, mip));
15700 15700  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX