Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/scsi/adapters/scsi_vhci.h
          +++ new/usr/src/uts/common/sys/scsi/adapters/scsi_vhci.h
↓ open down ↓ 645 lines elided ↑ open up ↑
 646  646          ((sfo) ? (strcmp((sfo)->sfo_name, SFO_NAME_TPGS) == 0) : 0)
 647  647  
 648  648  /*
 649  649   * Macro to provide plumbing for basic failover module
 650  650   */
 651  651  #define _SCSI_FAILOVER_OP(sfo_name, local_name, ops_name)               \
 652  652          static struct modlmisc modlmisc = {                             \
 653  653                  &mod_miscops, sfo_name                                  \
 654  654          };                                                              \
 655  655          static struct modlinkage modlinkage = {                         \
 656      -                MODREV_1, (void *)&modlmisc, NULL                       \
      656 +                MODREV_1, { (void *)&modlmisc, NULL }                   \
 657  657          };                                                              \
 658  658          int     _init()                                                 \
 659  659          {                                                               \
 660  660                  return (mod_install(&modlinkage));                      \
 661  661          }                                                               \
 662  662          int     _fini()                                                 \
 663  663          {                                                               \
 664  664                  return (mod_remove(&modlinkage));                       \
 665  665          }                                                               \
 666  666          int     _info(struct modinfo *modinfop)                         \
↓ open down ↓ 204 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX