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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/chxge/ch.c
          +++ new/usr/src/uts/common/io/chxge/ch.c
↓ open down ↓ 242 lines elided ↑ open up ↑
 243  243  };
 244  244  
 245  245  /*
 246  246   * modlinkage(9s) structure
 247  247   *
 248  248   * module linkage base structure (modctl.h)
 249  249   */
 250  250  
 251  251  static struct modlinkage modlinkage = {
 252  252          MODREV_1,               /* revision # of system */
 253      -        &modldrv,               /* NULL terminated list of linkage strucures */
 254      -        NULL
      253 +        { &modldrv, NULL }      /* NULL terminated list of linkage strucures */
 255  254  };
 256  255  
 257  256  /* ===================== start of STREAMS driver code ================== */
 258  257  
 259  258  #ifdef CONFIG_CHELSIO_T1_OFFLOAD
 260  259  /*
 261  260   * global pointer to toe per-driver control structure.
 262  261   */
 263  262  #define MAX_CARDS       4
 264  263  ch_t *gchp[MAX_CARDS];
 265  264  #endif
 266  265  
 267  266  kmutex_t in_use_l;
 268  267  uint32_t buffers_in_use[SZ_INUSE];
 269  268  uint32_t in_use_index;
 270  269  
 271  270  /*
 272  271   * Ethernet broadcast address definition.
 273  272   */
 274  273  static struct ether_addr etherbroadcastaddr = {
 275      -        0xff, 0xff, 0xff, 0xff, 0xff, 0xff
      274 +        { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 276  275  };
 277  276  
 278  277  /*
 279  278   * Module initialization functions.
 280  279   *
 281  280   *      Routine         Called by
 282  281   *      _init(9E)       modload(9F)
 283  282   *      _info(9E)       modinfo(9F)
 284  283   *      _fini(9E)       modunload(9F)
 285  284   */
↓ open down ↓ 2103 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX