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/oce/oce_main.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/oce/oce_main.c
↓ open down ↓ 112 lines elided ↑ open up ↑
 113  113          oce_quiesce     /* devo_quiesce */
 114  114  };
 115  115  
 116  116  static struct modldrv oce_drv = {
 117  117          &mod_driverops, /* Type of module.  This one is a driver */
 118  118          (char *)oce_ident_string, /* Description string */
 119  119          &oce_dev_ops,   /* driver ops */
 120  120  };
 121  121  
 122  122  static struct modlinkage oce_mod_linkage = {
 123      -        MODREV_1, &oce_drv, NULL
      123 +        MODREV_1, { &oce_drv, NULL }
 124  124  };
 125  125  
 126  126  #define OCE_M_CB_FLAGS  (MC_IOCTL | MC_GETCAPAB | MC_SETPROP | MC_GETPROP | \
 127  127      MC_PROPINFO)
 128  128  static mac_callbacks_t oce_mac_cb = {
 129  129          OCE_M_CB_FLAGS,         /* mc_callbacks */
 130  130          oce_m_stat,             /* mc_getstat */
 131  131          oce_m_start,            /* mc_start */
 132  132          oce_m_stop,             /* mc_stop */
 133  133          oce_m_promiscuous,      /* mc_setpromisc */
↓ open down ↓ 548 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX