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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/aggr/aggr_lacp.c
          +++ new/usr/src/uts/common/io/aggr/aggr_lacp.c
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  #include <sys/stat.h>
  44   44  #include <sys/byteorder.h>
  45   45  #include <sys/strsun.h>
  46   46  #include <sys/isa_defs.h>
  47   47  #include <sys/sdt.h>
  48   48  
  49   49  #include <sys/aggr.h>
  50   50  #include <sys/aggr_impl.h>
  51   51  
  52   52  static struct ether_addr        etherzeroaddr = {
  53      -        0x00, 0x00, 0x00, 0x00, 0x00, 0x00
       53 +        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
  54   54  };
  55   55  
  56   56  /*
  57   57   * Slow_Protocol_Multicast address, as per IEEE 802.3ad spec.
  58   58   */
  59   59  static struct ether_addr   slow_multicast_addr = {
  60      -        0x01, 0x80, 0xc2, 0x00, 0x00, 0x02
       60 +        {0x01, 0x80, 0xc2, 0x00, 0x00, 0x02}
  61   61  };
  62   62  
  63   63  #ifdef DEBUG
  64   64  /* LACP state machine debugging support */
  65   65  static uint32_t aggr_lacp_debug = 0;
  66   66  #define AGGR_LACP_DBG(x)        if (aggr_lacp_debug) { (void) printf x; }
  67   67  #else
  68   68  #define AGGR_LACP_DBG(x)        {}
  69   69  #endif /* DEBUG */
  70   70  
↓ open down ↓ 2306 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX